Questions tagged [system-calls]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
87 views

How to downgrade or upgrade AuditD on redhat 8

OS version = Red Hat Enterprise Linux release 8.6 (Ootpa) Kernel version = 4.18.0-425.3.1.el8.x86_64 I can't find a way to upgrade/downgrade auditd or auditctl. I must change the version of the auditd/...
Ariel Silver's user avatar
0 votes
0 answers
25 views

System hook to look for an encrypted file instead

How to setup a system hook so that whenever the content of /path/to/file is requested, the system does the following First check if /path/to/file exists. Act normally if it does. If it does not exist,...
Student's user avatar
  • 121
2 votes
1 answer
5k views

What could be causing "interrupted system call" errors in various applications?

I'm running into some very weird problems on my MacBook Pro (Intel, 2020, MacOS 11.1). Various command fail, but inconsistently. Running the same command twice can lead to different results. Queries ...
tao_oat's user avatar
  • 163
0 votes
1 answer
525 views

How to hook bash commands or syscalls in order to preserve extended file attributes?

I wrote a backupsystem depending on extended file attributes. Many editing programs (like vim) remove these attributes from the files they edit. My idea is to hook any bash command referencing a file, ...
openGLisLife's user avatar
4 votes
1 answer
3k views

What can trigger a SIGPWR signal that interrupts a 'sendmsg' system call?

On a RHEL 6 host, I have a Cassandra server listening for TCP connections on localhost. In parallel, I have a client application that sends it requests. The client (C# Mono) uses sendmsg to send the ...
Sotirios Delimanolis's user avatar
1 vote
2 answers
2k views

Which address space is used in system calls? physical? or virtual?

Explanation There’s two kind of address space virtual and physical. On the physical model (typically used by the kernel) the memory is bounded and each address correspond to physical ones. The virtual ...
user2284570's user avatar
  • 1,825
1 vote
0 answers
741 views

why Linux 64 bits system calls table is different

I just looked on the net on linux system calls numbers, and I found different numbers whether it is a 32 bits or 64 bits linux version. Why did Linux change the ordering of system calls ?? wouldn't ...
Sidahmed's user avatar
  • 367
4 votes
1 answer
2k views

How does sleep system call work?

A process may ask the OS to pause it for 0.5 seconds, but how does that work? The CPU doesn't simply stop running for that 0.5 second as other programs work well simultaneously, so how do we pause ...
yanpas's user avatar
  • 562
0 votes
1 answer
271 views

Shell Command that Combines chmod and chgrp

Is there a combined variant for chmod and chgrp that sets both user and groups permissions in one single system call for each file? This is useful for increasing performance on slow data layers such ...
Nordlöw's user avatar
  • 197
1 vote
0 answers
341 views

getting error while adding a system call

I'm using Ubuntu 12.04(64bit) and installed kernel version linux-2.6.37.3. My device is ASUS x201ev net-book(64 bit). I'm providing the link of procedure i used. i edited unistd_64.h file also and ...
user232803's user avatar
4 votes
2 answers
2k views

Why is `csrss.exe` called every time I move the mouse?

After my windows xp sp3 boots and all cpu activity dimms, I observed what happens when I just move the mouse in circles on an empty spot on the desktop: First exporer.exe is called and then csrss.exe. ...
panny's user avatar
  • 665
1 vote
2 answers
124 views

Making the keyboard eject switch work

I am using Linux.My keyboard switch for ejecting the CDROM does not work though it displays an eject button on the screen. I need to make it work. I know ejecting a cdrom using system call is as ...
PaulDaviesC's user avatar
3 votes
3 answers
891 views

Why is the setuid permission bit not set for mkdir in modern Unix systems?

Bach states the following: mkdir is a typical setuid program. Only a process with Effective UID root can create a folder. (Section 7.6, Page 229) I checked the permissions on it on Ubuntu 12.04, ...
Anirudh Ramanathan's user avatar
8 votes
6 answers
5k views

Linux equivalent to Mac OS X's fs_usage

Is there a Linux equivalent to the Mac OS X command fs_usage? According to the man page it does the following: "report system calls and page faults related to filesystem activity in real-time". I ...
Khai's user avatar
  • 156
0 votes
1 answer
1k views

Interrupt Descriptor Table and System Call Table?

Anyone please help me find out the relation between these two. Read somewhere that "The IDT is initialized one first time by the BIOS routine but Linux does it one more time when it take control." ...
user61954's user avatar
  • 859
4 votes
1 answer
1k views

Why do strace/truss sometimes 'fix' stuck processes?

Sometimes you have a stuck process that's been stuck for a while, and as soon as you go to poke at it with strace/truss just to see what's going on, it gets magically unstuck and continues to run! So ...
Emmel's user avatar
  • 351
7 votes
2 answers
2k views

Guidelines for troubleshooting high interrupt rate

Sample readings: high or above normal interrupt rate (at idle), at approximately 1505/sec Information obtained from Process Explorer and Kernrate System calls approximately 6132/sec Context switches ...
Aaron's user avatar
  • 1,448