system-calls
Why should I Minimize the use of system call in my code?
I wanted to know is there any reason to minimize use of system call in code and what is the alternate of not开发者_StackOverflow社区 using system call ,one would say use API but api in turns use syste[详细]
2023-03-14 04:36 分类:问答Replacing system calls (syscalls) in Linux 2.6+
I\'m looking into writing a userland threading library, since there seems to be no active work in this area, and I believe the C++0x promises and futuresmay give this model some power. Unfortunately,[详细]
2023-03-13 18:20 分类:问答My ifstream doesn't seem to be working
This is a main file that I am using to test methods before I implement them.I am trying to get the list of all files in a directory, write them to a txt file (It works fine until here), then read the[详细]
2023-03-12 15:59 分类:问答Problem with hooking ntdll.dll calls
I\'m currently working on hooking ntdll.dll calls via dll injection. At first, I create thread in existing process via CreateRemoteThread() then I load my dll via LoadLibrary and finally hook calls on[详细]
2023-03-12 12:49 分类:问答What do these strace system calls mean?
I need to profile the performance of an application for which I am using strace. However, I do not really know how to interpret the various system calls the strace emits. Examples of a few of them are[详细]
2023-03-12 08:53 分类:问答How do system calls work?
I understand that a user can own a process and each process has an address space (which contains valid memory locations, this process can reference). I know that a process can call a system call and p[详细]
2023-03-11 15:18 分类:问答Mechanism of clipboard of xwindow
Can anybody explain the开发者_Python百科 mechanism of clipboard of xwindow to me? For example, if I make a operation of open a file from gedit and copy the content of this file using ctrl+c. And then[详细]
2023-03-11 13:01 分类:问答Relationship slow system call with signal
I\'m learning slow system call and signals. For the normal system, the slow system call (read from terminal device) can block forever.[详细]
2023-03-10 00:22 分类:问答crash at __kernel_vsyscall() doesn't occur after GCC optimization disabled
I had a nasty crash occuring in my application. GDB always backtraced it to __kernel_vsyscall(). I couldn\'t find anything suspicious in source code after debugging.[详细]
2023-03-08 16:28 分类:问答write system call stops at nul
Well it may be obvious to some but not to me (and it is not mentioned in the documentation) : int main(int argc, char** argv) {[详细]
2023-03-07 08:26 分类:问答