Archives

Archive for the ‘C’ Category

One of the most annoying matter I have met when administrating a server was following and fixing messes other users (who happen to have root password) would do on the server. Random users with root passwords often know two things… “sh” and “history -c”… and of course “I didn’t do it”. Now, while it is [...]

Nov 5th, 2008 | Filed under C, Programming, Unix / Linux

Creating a system call in the kernel to be used by a user-space application isn’t that exotic but requires three basic steps. The first step is to create the function, to update the header files and to update the system call table. We will create the function with the asmlinkage modifier, which tells the compiler [...]

Oct 14th, 2008 | Filed under C, Unix / Linux