The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
66 views

How does Gnome clock/calendar applet get weather, sunset and sunrise time information?

How and where does this Gnome applet get weather information? Same question for sunrise and sunset times. I suppose there is a web API it queries but which one and can I use it? (sorry for the ...
2
votes
2answers
175 views

The «sh» being launched with execl() becomes a zombie

I am spent whole half a day, but still couldn't figure, why is the dash being launched with execl call just becomes a zombie. Below is a minimal test case — I'm just fork a child, make a duplicate of ...
1
vote
0answers
42 views

Can't run php cli at webuser but will run as root

I am running a Magento application on a Nginx server. nginx + php-fpm running as webuser:www There are some function in the shell directory of Magento which run fine as root and the import run fine ...
1
vote
0answers
19 views

Are External API's secure? [closed]

I'm new to java. So please someone explain me if we can use external API's in my work? Are they secure to use?
1
vote
1answer
51 views

What is “fs” short for in kernel function “get_fs()”?

There are two Linux kernel functions: get_ds() and get_fs() According to this article, I know ds is short for data segment. However, I cannot guess what "fs" is short for. Any explanations?
0
votes
0answers
25 views

API for Ubuntu Linux utility panel

I want to build an application that integrates with the top menu bar on Ubuntu. Where if you click the icon you get a dynamically created drop down menu. Everpad does this and here's an example of ...
1
vote
0answers
35 views

Very strange issue, something is blocking specific links on local domain

I have a very strange issue and I ran out of ideas. The major problem is that the symptoms are not consistent. I have a short link website hosted on 2 virtual machines, one with nginx+php-fpm and one ...
2
votes
0answers
101 views

API Monitoring and Hooking

I am currently reading the "Malware Analyst's Cookbook and DVD". There is a chapter "Dynamic Analysis" and there are also some recipes about hooking and monitoring API calls of process but it is for ...
10
votes
4answers
291 views

Why does *BSD uses driver specific names for network interfaces? Does it imply limitations?

I notice that depending on the brand of the network card, interface names differ (driver dependent I suppose). Why does *BSD uses driver specific names for network interfaces? Does it mean there is ...
1
vote
1answer
185 views

API for IPROUTE2 in any programming language

Is there any API that can be used to manipulate Linux routing table? I want to write a program that listens to sockets and then modifies routing table accordingly, just a simple code, but need an API. ...
0
votes
1answer
88 views

API for panel applets on eOS Pantheon?

Is there any API (esp python or bash) to append new applets on eOS Pantheon's panel? I can't find proper documentation.
4
votes
1answer
178 views

Use case of providing file-like API to terminal/console

It was explained in this Stack Overflow thread that each logical terminal has a "pseudo-terminal", and that writing to one: $ cat some-file.txt > /dev/ttys002 will cause the data to appear in ...
15
votes
4answers
6k views

After fork(), where does the child begin its execution?

I'm trying to learn UNIX programming and came across a question regarding fork(). I understand that fork() creates an identical process of the currently running process, but where does it start? For ...
2
votes
2answers
2k views

Is there a faster interface for info from /proc/net/tcp?

Given a linux TCP socket's inode (obtained via /proc/<pid>/fd), is there a faster way to look up the information that I can get from /proc/net/tcp about this socket? I have written a ...
4
votes
1answer
331 views

Can I read and write to alternate HFS+ file forks or NTFS data streams from Linux?

It's possible to mount both Apple HFS+ and Microsoft NTFS filesystems under Linux. Both filesystems support multiple content streams per file, though this is not widely used. Apple uses the term ...
18
votes
6answers
787 views

How stable are Unix shell “stdin/stdout APIs”?

grepping, awking, sedding, and piping are day-to-day routine of a user of any Unix-like operating system, may it be on the command line or inside a shell script (collectively called filters from now ...
4
votes
1answer
173 views

TWAIN API support on FreeBSD

Does FreeBSD support in any way the TWAIN API? If not, what is the API that could be used to read data from imaging devices (webcams) - preferably in a portable way.
2
votes
2answers
195 views

Retrieve countries timezones

What is the best way to retrieve the current time zones of a number of countries, on a daily basis? (that would take into account DST changes, of course) Reliably If possible the Linux way (i.e. ...
2
votes
2answers
433 views

stop pipe() opening stdin

I've currently got code that forks two processes. The first reads a http streaming radio and pushes the data down a pipe (opened with pipe() ) for the second process to read, decode and output to the ...