aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_shm.c
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-09-25 18:09:19 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-09-25 18:09:19 +0000
commita9ac5e142408d3228694aea197d9f77e643ab015 (patch)
treef278a7630ee9441c1580c37f0f093ae67fb4e574 /sys/kern/uipc_shm.c
parent234879a7e30ea98cc3cdf74e2b4b21c69b305223 (diff)
downloadsrc-a9ac5e142408d3228694aea197d9f77e643ab015.tar.gz
src-a9ac5e142408d3228694aea197d9f77e643ab015.zip
sysent: regenerate after r352705
This also implements it, fixes kdump, and removes no longer needed bits from lib/libc/sys/shm_open.c for the interim.
Notes
Notes: svn path=/head/; revision=352706
Diffstat (limited to 'sys/kern/uipc_shm.c')
-rw-r--r--sys/kern/uipc_shm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/uipc_shm.c b/sys/kern/uipc_shm.c
index 4c21da4bc38a..f25f47201b9a 100644
--- a/sys/kern/uipc_shm.c
+++ b/sys/kern/uipc_shm.c
@@ -904,13 +904,15 @@ kern_shm_open(struct thread *td, const char *userpath, int flags, mode_t mode,
}
/* System calls. */
+#ifdef COMPAT_FREEBSD12
int
-sys_shm_open(struct thread *td, struct shm_open_args *uap)
+freebsd12_shm_open(struct thread *td, struct freebsd12_shm_open_args *uap)
{
return (kern_shm_open(td, uap->path, uap->flags | O_CLOEXEC, uap->mode,
NULL, F_SEAL_SEAL));
}
+#endif
int
sys_shm_unlink(struct thread *td, struct shm_unlink_args *uap)