summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-07 13:59:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-12-07 13:59:06 +0000
commit364027c03b3c1225ac11c687937bc8bc5ffddf1c (patch)
tree7c7f9b4248c51aaee8126c4a79de1850eb143b45 /sys/uvm
parent072f80a292f90a39f20a0482bd2534d55e443ac2 (diff)
Add a stub pinsyscalls() system call that simply returns 0 for now,
before future work where ld.so(1) will need this new system call. Putting this in the kernel ahead of time will save some grief. ok kettenis
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_mmap.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/uvm/uvm_mmap.c b/sys/uvm/uvm_mmap.c
index caea59be203..1ff2d3106dc 100644
--- a/sys/uvm/uvm_mmap.c
+++ b/sys/uvm/uvm_mmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_mmap.c,v 1.182 2023/05/09 10:35:20 kn Exp $ */
+/* $OpenBSD: uvm_mmap.c,v 1.183 2023/12/07 13:59:05 deraadt Exp $ */
/* $NetBSD: uvm_mmap.c,v 1.49 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -644,6 +644,16 @@ sys_pinsyscall(struct proc *p, void *v, register_t *retval)
return (0);
}
+ /*
+ * sys_pinsyscalls
+ */
+int
+sys_pinsyscalls(struct proc *p, void *v, register_t *retval)
+{
+ /* STUB until other parts are ready */
+ return (0);
+}
+
/*
* sys_mimmutable: the mimmutable system call
*/