summaryrefslogtreecommitdiffstats
path: root/kernel/uid16.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/uid16.h')
-rw-r--r--kernel/uid16.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/uid16.h b/kernel/uid16.h
new file mode 100644
index 0000000000..cdca040f76
--- /dev/null
+++ b/kernel/uid16.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef LINUX_UID16_H
+#define LINUX_UID16_H
+
+long __sys_setuid(uid_t uid);
+long __sys_setgid(gid_t gid);
+long __sys_setreuid(uid_t ruid, uid_t euid);
+long __sys_setregid(gid_t rgid, gid_t egid);
+long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
+long __sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
+long __sys_setfsuid(uid_t uid);
+long __sys_setfsgid(gid_t gid);
+
+#endif /* LINUX_UID16_H */