aboutsummaryrefslogtreecommitdiffstats
path: root/sys/sys.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-16 13:42:04 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-08-16 13:42:04 +0200
commitf93be58429d77a7928d96205e7ee34e4bbb7cc9c (patch)
treec8c56fd4ba94b738778c951799799f2ac5629ead /sys/sys.txt
parent6a0246bf72830c3461e9784c104894882738541f (diff)
sys: add some known xattr names
Move xattr syscalls to own file and better describe xattr names. They usually have prefix+name structure and there are some known values.
Diffstat (limited to 'sys/sys.txt')
-rw-r--r--sys/sys.txt15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/sys.txt b/sys/sys.txt
index f86a4f8a2..780021557 100644
--- a/sys/sys.txt
+++ b/sys/sys.txt
@@ -9,7 +9,6 @@ include <linux/fanotify.h>
include <linux/inotify.h>
include <linux/resource.h>
include <linux/stat.h>
-include <linux/xattr.h>
include <linux/mman.h>
include <linux/time.h>
include <linux/prctl.h>
@@ -377,19 +376,6 @@ ioprio_set$pid(which flags[ioprio_which_pid], who pid, prio intptr)
ioprio_set$uid(which flags[ioprio_which_uid], who uid, prio intptr)
setns(fd fd, type flags[ns_type])
-setxattr(path ptr[in, filename], name ptr[in, string], val ptr[in, string], size len[val], flags flags[setxattr_flags])
-lsetxattr(path ptr[in, filename], name ptr[in, string], val ptr[in, string], size len[val], flags flags[setxattr_flags])
-fsetxattr(fd fd, name ptr[in, string], val ptr[in, string], size len[val], flags flags[setxattr_flags])
-getxattr(path ptr[in, filename], name ptr[in, string], val buffer[out], size len[val])
-lgetxattr(path ptr[in, filename], name ptr[in, string], val buffer[out], size len[val])
-fgetxattr(fd fd, name ptr[in, string], val buffer[out], size len[val])
-listxattr(path ptr[in, filename], list buffer[out], size len[list])
-llistxattr(path ptr[in, filename], list buffer[out], size len[list])
-flistxattr(fd fd, list buffer[out], size len[list])
-removexattr(path ptr[in, filename], name ptr[in, string])
-lremovexattr(path ptr[in, filename], name ptr[in, string])
-fremovexattr(fd fd, name ptr[in, string])
-
resource timerid[int32]
timer_create(id flags[clock_id], ev ptr[in, sigevent], timerid ptr[out, timerid])
timer_gettime(timerid timerid, setting ptr[out, itimerspec])
@@ -1007,7 +993,6 @@ rlimit_type = RLIMIT_AS, RLIMIT_CORE, RLIMIT_CPU, RLIMIT_DATA, RLIMIT_FSIZE, RLI
syslog_cmd = SYSLOG_ACTION_CLOSE, SYSLOG_ACTION_OPEN, SYSLOG_ACTION_READ, SYSLOG_ACTION_READ_ALL, SYSLOG_ACTION_READ_CLEAR, SYSLOG_ACTION_CLEAR, SYSLOG_ACTION_CONSOLE_ON, SYSLOG_ACTION_CONSOLE_OFF, SYSLOG_ACTION_SIZE_UNREAD, SYSLOG_ACTION_SIZE_BUFFER
ioprio_which_pid = IOPRIO_WHO_PROCESS, IOPRIO_WHO_PGRP
ioprio_which_uid = IOPRIO_WHO_USER
-setxattr_flags = XATTR_CREATE, XATTR_REPLACE
ns_type = 0, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWUTS
personality_flags = PER_LINUX, PER_SVR4, PER_SVR3, PER_OSR5, PER_WYSEV386, PER_ISCR4, PER_BSD, PER_XENIX, PER_LINUX32, PER_IRIX32, PER_IRIXN32, PER_IRIX64, PER_RISCOS, PER_SOLARIS, PER_UW7, PER_OSF4, PER_HPUX, ADDR_NO_RANDOMIZE, MMAP_PAGE_ZERO, ADDR_COMPAT_LAYOUT, READ_IMPLIES_EXEC, ADDR_LIMIT_32BIT, SHORT_INODE, WHOLE_SECONDS, STICKY_TIMEOUTS, ADDR_LIMIT_3GB
clock_id = CLOCK_REALTIME, CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC, CLOCK_MONOTONIC_COARSE, CLOCK_MONOTONIC_RAW, CLOCK_BOOTTIME, CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID