The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
44 views

Proxmox OpenVZ /cluster/resources returning incomplete info

I have a few Proxmox nodes, yesterday, I upgraded them all to 3.4-11. Today I found one of the node is not showing OpenVZ node correctly in the Proxmox UI. Then I did a bit investigation and found ...
0
votes
0answers
21 views

How do I grant write access to an API?

I'm trying to run the SOFA Matlab/Octave API version 1.0.1. Copyright 2013 Acoustics Research Institute. This API implements SOFA version 1.0. I've emailed them and they said "I need to grant write ...
-2
votes
3answers
193 views

Why isn't there a Unix API?

Why isn't there the Unix API? I mean, as there is the Windows API. I know a lot of things in the Unix world is modular, and those things put together creates a whole system. This sounds good but does ...
0
votes
0answers
36 views

up2date login & patch APIs for RHEL7

I am trying to achieve controlled patching of the RHEL machines in my network, for which I need to get the patch binaries downloaded onto a windows machine. I have already familiazired myself with ...
0
votes
1answer
63 views

Build log4cxx [DEBIAN]

Please help me from where to start when building log4cxx package, do I need some other packages for bulding this? I can't find anything significant to help me to solve this problem. I tried with ...
3
votes
0answers
103 views

Cocoa API implementation for Linux?

Is there any Wine-like project for running OS X apps on Linux? I mean an implementation of Cocoa API for standard Linux machine, as it is done with Wine.
0
votes
1answer
107 views

Can I use LXC library in my c program?

Currently, I am designing a c program that will create multiple container and put different applications into them separately to achieve isolation. Is it possible to leverage LXC library to it? I ...
3
votes
2answers
313 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
221 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
2answers
350 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?
1
vote
1answer
244 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 ...
1
vote
0answers
38 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
257 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 ...
12
votes
4answers
601 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
365 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. ...
4
votes
1answer
272 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 ...
0
votes
1answer
122 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
419 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 ...
3
votes
2answers
3k 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 ...
18
votes
6answers
885 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
199 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
261 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
456 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 ...
16
votes
4answers
9k 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 ...