__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef __ASM_GENERIC_SEMBUF_H
#define __ASM_GENERIC_SEMBUF_H
#include <asm/bitsperlong.h>
#include <asm/ipcbuf.h>
/*
* The semid64_ds structure for most architectures (though it came from x86_32
* originally). Note extra padding because this structure is passed back and
* forth between kernel and user space.
*
* semid64_ds was originally meant to be architecture specific, but
* everyone just ended up making identical copies without specific
* optimizations, so we may just as well all use the same one.
*
* 64 bit architectures use a 64-bit long time field here, while
* 32 bit architectures have a pair of unsigned long values.
*
* On big-endian systems, the padding is in the wrong place for
* historic reasons, so user space has to reconstruct a time_t
* value using
*
* user_semid_ds.sem_otime = kernel_semid64_ds.sem_otime +
* ((long long)kernel_semid64_ds.sem_otime_high << 32)
*
* Pad space is left for 2 miscellaneous 32-bit values
*/
struct semid64_ds {
struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
#if __BITS_PER_LONG == 64
long sem_otime; /* last semop time */
long sem_ctime; /* last change time */
#else
unsigned long sem_otime; /* last semop time */
unsigned long sem_otime_high;
unsigned long sem_ctime; /* last change time */
unsigned long sem_ctime_high;
#endif
unsigned long sem_nsems; /* no. of semaphores in array */
unsigned long __unused3;
unsigned long __unused4;
};
#endif /* __ASM_GENERIC_SEMBUF_H */
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| auxvec.h | File | 218 B | 0644 |
|
| bitsperlong.h | File | 1023 B | 0644 |
|
| bpf_perf_event.h | File | 238 B | 0644 |
|
| errno-base.h | File | 1.57 KB | 0644 |
|
| errno.h | File | 5.52 KB | 0644 |
|
| fcntl.h | File | 5.36 KB | 0644 |
|
| hugetlb_encode.h | File | 1.78 KB | 0644 |
|
| int-l64.h | File | 718 B | 0644 |
|
| int-ll64.h | File | 864 B | 0644 |
|
| ioctl.h | File | 3.4 KB | 0644 |
|
| ioctls.h | File | 3.89 KB | 0644 |
|
| ipcbuf.h | File | 1.01 KB | 0644 |
|
| kvm_para.h | File | 96 B | 0644 |
|
| mman-common.h | File | 3.72 KB | 0644 |
|
| mman.h | File | 740 B | 0644 |
|
| msgbuf.h | File | 1.59 KB | 0644 |
|
| param.h | File | 353 B | 0644 |
|
| poll.h | File | 847 B | 0644 |
|
| posix_types.h | File | 2.32 KB | 0644 |
|
| resource.h | File | 1.83 KB | 0644 |
|
| sembuf.h | File | 1.51 KB | 0644 |
|
| setup.h | File | 190 B | 0644 |
|
| shmbuf.h | File | 1.83 KB | 0644 |
|
| siginfo.h | File | 10.43 KB | 0644 |
|
| signal-defs.h | File | 2.85 KB | 0644 |
|
| signal.h | File | 1.76 KB | 0644 |
|
| socket.h | File | 3.69 KB | 0644 |
|
| sockios.h | File | 447 B | 0644 |
|
| stat.h | File | 2.57 KB | 0644 |
|
| statfs.h | File | 1.8 KB | 0644 |
|
| swab.h | File | 502 B | 0644 |
|
| termbits-common.h | File | 2.16 KB | 0644 |
|
| termbits.h | File | 3.57 KB | 0644 |
|
| termios.h | File | 1.34 KB | 0644 |
|
| types.h | File | 233 B | 0644 |
|
| ucontext.h | File | 357 B | 0644 |
|
| unistd.h | File | 30.49 KB | 0644 |
|