aboutsummaryrefslogtreecommitdiff
path: root/lib/libsys
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2024-11-29 12:10:45 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2024-11-29 12:10:45 +0000
commit60f87c736807bd2b5a3ebe451add868232facf43 (patch)
tree297655ef0fedf9495fbb2d4e042f05b7746fdb18 /lib/libsys
parentb165e9e3ea4e327fc421d81c2a89242bd8720780 (diff)
Diffstat (limited to 'lib/libsys')
-rw-r--r--lib/libsys/_libsys.h2
-rw-r--r--lib/libsys/syscalls.map2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/libsys/_libsys.h b/lib/libsys/_libsys.h
index 00d966661786..894f49185fbc 100644
--- a/lib/libsys/_libsys.h
+++ b/lib/libsys/_libsys.h
@@ -463,6 +463,7 @@ typedef int (__sys_timerfd_gettime_t)(int, struct itimerspec *);
typedef int (__sys_timerfd_settime_t)(int, int, const struct itimerspec *, struct itimerspec *);
typedef int (__sys_kcmp_t)(pid_t, pid_t, int, uintptr_t, uintptr_t);
typedef int (__sys_getrlimitusage_t)(u_int, int, rlim_t *);
+typedef int (__sys_fchroot_t)(int);
void __sys_exit(int rval);
int __sys_fork(void);
@@ -863,6 +864,7 @@ int __sys_timerfd_gettime(int fd, struct itimerspec * curr_value);
int __sys_timerfd_settime(int fd, int flags, const struct itimerspec * new_value, struct itimerspec * old_value);
int __sys_kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
int __sys_getrlimitusage(u_int which, int flags, rlim_t * res);
+int __sys_fchroot(int fd);
__END_DECLS
#endif /* __LIBSYS_H_ */
diff --git a/lib/libsys/syscalls.map b/lib/libsys/syscalls.map
index 62a2a2005262..9e748c659c46 100644
--- a/lib/libsys/syscalls.map
+++ b/lib/libsys/syscalls.map
@@ -805,4 +805,6 @@ FBSDprivate_1.0 {
__sys_kcmp;
_getrlimitusage;
__sys_getrlimitusage;
+ _fchroot;
+ __sys_fchroot;
};