SILENT KILLERPanel

Current Path: > > usr > include > sys


Operation   : Linux premium107.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 198.54.126.246 | Your IP: 216.73.216.181
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/include/sys

NameTypeSizeLast ModifiedActions
acct.h File 3296 bytes December 08 2025 09:36:36.
auxv.h File 1259 bytes December 08 2025 09:36:36.
bitypes.h File 86 bytes December 08 2025 09:36:49.
capability.h File 7233 bytes January 10 2024 14:34:46.
cdefs.h File 20682 bytes December 08 2025 09:36:36.
debugreg.h File 3575 bytes December 08 2025 09:36:36.
dir.h File 921 bytes December 08 2025 09:36:36.
elf.h File 1023 bytes December 08 2025 09:36:36.
epoll.h File 4410 bytes December 08 2025 09:36:36.
errno.h File 19 bytes December 08 2025 09:36:34.
eventfd.h File 1399 bytes December 08 2025 09:36:36.
fanotify.h File 1291 bytes December 08 2025 09:36:36.
fcntl.h File 19 bytes December 08 2025 09:36:36.
file.h File 1674 bytes December 08 2025 09:36:36.
fsuid.h File 1187 bytes December 08 2025 09:36:36.
gmon.h File 6230 bytes December 08 2025 09:36:36.
gmon_out.h File 2635 bytes December 08 2025 09:36:36.
inotify.h File 3837 bytes December 08 2025 09:36:36.
io.h File 5085 bytes December 08 2025 09:36:36.
ioctl.h File 1739 bytes December 08 2025 09:36:36.
ipc.h File 1461 bytes December 08 2025 09:36:36.
kd.h File 1111 bytes December 08 2025 09:36:36.
klog.h File 1203 bytes December 08 2025 09:36:36.
mman.h File 5551 bytes December 08 2025 09:36:36.
mount.h File 5611 bytes December 08 2025 09:36:36.
msg.h File 2365 bytes December 08 2025 09:36:36.
mtio.h File 11162 bytes December 08 2025 09:36:36.
param.h File 3148 bytes December 08 2025 09:36:36.
pci.h File 922 bytes December 08 2025 09:36:36.
perm.h File 1126 bytes December 08 2025 09:36:36.
personality.h File 2722 bytes December 08 2025 09:36:36.
poll.h File 2549 bytes December 08 2025 09:36:36.
prctl.h File 1058 bytes December 08 2025 09:36:36.
procfs.h File 4985 bytes December 08 2025 09:36:48.
profil.h File 1958 bytes December 08 2025 09:36:36.
psx_syscall.h File 2833 bytes January 10 2024 14:34:46.
ptrace.h File 5988 bytes December 08 2025 09:36:36.
queue.h File 19539 bytes December 08 2025 09:36:36.
quota.h File 5172 bytes December 08 2025 09:36:36.
random.h File 1443 bytes December 08 2025 09:36:34.
raw.h File 1181 bytes December 08 2025 09:36:36.
reboot.h File 1632 bytes December 08 2025 09:36:36.
reg.h File 1826 bytes December 08 2025 09:36:36.
resource.h File 3645 bytes December 08 2025 09:36:36.
sdt-config.h File 276 bytes October 14 2023 13:06:47.
sdt.h File 22157 bytes October 14 2023 13:06:47.
select.h File 4140 bytes December 08 2025 09:36:36.
sem.h File 2036 bytes December 08 2025 09:36:36.
sendfile.h File 1805 bytes December 08 2025 09:36:36.
shm.h File 1873 bytes December 08 2025 09:36:36.
signal.h File 20 bytes December 08 2025 09:36:34.
signalfd.h File 1599 bytes December 08 2025 09:36:36.
socket.h File 10203 bytes December 08 2025 09:36:36.
socketvar.h File 141 bytes December 08 2025 09:36:36.
soundcard.h File 29 bytes December 08 2025 09:36:36.
stat.h File 16236 bytes December 08 2025 09:36:36.
statfs.h File 2093 bytes December 08 2025 09:36:36.
statvfs.h File 2819 bytes December 08 2025 09:36:36.
swap.h File 1592 bytes December 08 2025 09:36:36.
syscall.h File 1335 bytes December 08 2025 09:36:36.
sysctl.h File 2004 bytes December 08 2025 09:36:36.
sysinfo.h File 1517 bytes December 08 2025 09:36:36.
syslog.h File 7702 bytes December 08 2025 09:36:36.
sysmacros.h File 2102 bytes December 08 2025 09:36:36.
termios.h File 74 bytes December 08 2025 09:36:36.
time.h File 6656 bytes December 08 2025 09:36:35.
timeb.h File 1376 bytes December 08 2025 09:36:35.
timerfd.h File 1873 bytes December 08 2025 09:36:36.
times.h File 1596 bytes December 08 2025 09:36:36.
timex.h File 2205 bytes December 08 2025 09:36:35.
ttychars.h File 2499 bytes December 08 2025 09:36:36.
ttydefaults.h File 3568 bytes December 08 2025 09:36:36.
types.h File 5712 bytes December 08 2025 09:36:36.
ucontext.h File 5841 bytes December 08 2025 09:36:34.
uio.h File 6279 bytes December 08 2025 09:36:36.
un.h File 1452 bytes December 08 2025 09:36:36.
unistd.h File 20 bytes December 08 2025 09:36:36.
user.h File 5207 bytes December 08 2025 09:36:36.
utsname.h File 2480 bytes December 08 2025 09:36:36.
vfs.h File 161 bytes December 08 2025 09:36:36.
vlimit.h File 1879 bytes December 08 2025 09:36:36.
vm86.h File 1198 bytes December 08 2025 09:36:36.
vt.h File 22 bytes December 08 2025 09:36:36.
vtimes.h File 2462 bytes December 08 2025 09:36:36.
wait.h File 5604 bytes December 08 2025 09:36:36.
xattr.h File 4274 bytes December 08 2025 09:36:36.

Reading File: //usr/include/sys/psx_syscall.h

/*
 * Copyright (c) 2019 Andrew G. Morgan <morgan@kernel.org>
 *
 * This header, and the -lpsx library, provide a number of things to
 * support POSIX semantics for syscalls associated with the pthread
 * library. Linking this code is tricky and is done as follows:
 *
 *     ld ... -lpsx -lpthread --wrap=pthread_create
 * or, gcc ... -lpsx -lpthread -Wl,-wrap,pthread_create
 *
 * glibc provides a subset of this functionality natively through the
 * nptl:setxid mechanism and could implement psx_syscall() directly
 * using that style of functionality but, as of 2019-11-30, the setxid
 * mechanism is limited to 9 specific set*() syscalls that do not
 * support the syscall6 API (needed for prctl functions and the ambient
 * capabilities set for example).
 */

#ifndef _SYS_PSX_SYSCALL_H
#define _SYS_PSX_SYSCALL_H

#ifdef __cplusplus
extern "C" {
#endif

#include <pthread.h>

/*
 * psx_syscall performs the specified syscall on all psx registered
 * threads. The mechanism by which this occurs is much less efficient
 * than a standard system call on Linux, so it should only be used
 * when POSIX semantics are required to change process relevant
 * security state.
 *
 * Glibc has native support for POSIX semantics on setgroups() and the
 * 8 set*[gu]id() functions. So, there is no need to use psx_syscall()
 * for these calls. This call exists for all the other system calls
 * that need to maintain parity on all pthreads of a program.
 *
 * Some macrology is used to allow the caller to provide only as many
 * arguments as needed, thus psx_syscall() cannot be used as a
 * function pointer. For those situations, we define psx_syscall3()
 * and psx_syscall6().
 */
#define psx_syscall(syscall_nr, ...) \
    __psx_syscall(syscall_nr, __VA_ARGS__, (long int) 6, (long int) 5, \
		  (long int) 4, (long int) 3, (long int) 2, \
		  (long int) 1, (long int) 0)
long int __psx_syscall(long int syscall_nr, ...);
long int psx_syscall3(long int syscall_nr,
		      long int arg1, long int arg2, long int arg3);
long int psx_syscall6(long int syscall_nr,
		      long int arg1, long int arg2, long int arg3,
		      long int arg4, long int arg5, long int arg6);

/*
 * This function should be used by systems to obtain pointers to the
 * two syscall functions provided by the PSX library. A linkage trick
 * is to define this function as weak in a library that can optionally
 * use libpsx and then, should the caller link -lpsx, that library can
 * implicitly use these POSIX semantics syscalls. See libcap for an
 * example of this useage.
 */
void psx_load_syscalls(long int (**syscall_fn)(long int,
					       long int, long int, long int),
		       long int (**syscall6_fn)(long int,
						long int, long int, long int,
						long int, long int, long int));

#ifdef __cplusplus
}
#endif

#endif /* _SYS_PSX_SYSCALL_H */

SILENT KILLER Tool