ioctl
Retrieving a List of network interfaces in node.js (ioctl SIOCGIFCONF)
I\'m new to node and am hacking together a node application utilizing node_pcap to capture packet data and do interesting things with it.One of the inputs to capturing data is the network interface to[详细]
2023-04-13 09:26 分类:问答Is it possible to "wake up" linux kernel process from user space without system call?
I\'m trying to modify a kernel module that manages a special hardware. The user space process, performs 2 ioctl() system calls per milliseconds to talk with the module. This doesn\'t meet my real.time[详细]
2023-04-12 08:43 分类:问答How the user process can access the character device loaded by my module
I am trying to load into the kernel a system-call dynamically (without restarting the kernel and compailing it) in an attempt to (once in kernel mode) write to user process\'s memory.[详细]
2023-04-10 10:22 分类:问答pty man page doubt/question
man pty says... TheBSD ioctl(2) operations TIOCSTOP, TIOCSTART, TIOCUCNTL, and TIOCREMOTE have not been implemented under Linux.[详细]
2023-04-05 10:26 分类:问答Replacement for the ioctl() function
I am developing a device driver I/O model for small microcontroller applications, using POSIX as a guideline for interface design. I implemented ioctl() as a means of controlling d开发者_如何转开发riv[详细]
2023-04-02 21:18 分类:问答Is there a way to know how much data is available in a Python socket to receive?
I have figured out that I must use ioctl. There are similar questions here: How to tell how much data is in a Socket's send buffer[详细]
2023-03-27 21:57 分类:问答Call "expect" script in C++ process
I realized a shell using expect/spawn and send commands to SCP files from a remote server which send automatically the password when it is needed.[详细]
2023-03-27 03:23 分类:问答Linux - ioctl with FIONREAD always 0
I\'m trying to get to know how many bytes there are readable at my TCP socket. I开发者_StackOverflow社区 am calling ioctl with the Flag \"FIONREAD\" which should actually give me this value.[详细]
2023-03-26 20:32 分类:问答What is NetBSD's FIONSPACE ioctl equivalent in Linux?
I\'m using Linux 2.6.38 开发者_如何学Python(fc14). What is the ioctl flag to get the amount of free space on a socket file descriptor (say, a TCP socket)? I found NetBSD has FIONREAD, FIONWRITE and FI[详细]
2023-03-26 15:05 分类:问答Android ioctl - root permissions and usage
I\'m working on some routing functionality in an Android app, and need to access ioctls.Since apps that use ioctls need root permission to run, the only way I\'ve been able to call them is linking a s[详细]
2023-03-26 10:52 分类:问答