mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
Merge posix4/* into normal kernel hierarchy.
Reviewed by: glanced at by jhb Approved by: silence on -arch@ and -standards@
This commit is contained in:
parent
bdd04ab184
commit
6aeb05d7be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164184
@ -36,7 +36,7 @@ LHDRS= aio.h errno.h fcntl.h linker_set.h poll.h stdint.h syslog.h \
|
||||
LDIRS= bsm cam geom net net80211 netatalk netatm netgraph netinet netinet6 \
|
||||
netipsec ${_netipx} netkey netnatm ${_netncp} netsmb \
|
||||
nfs nfsclient nfsserver \
|
||||
pccard posix4 sys vm
|
||||
pccard sys vm
|
||||
|
||||
LSUBDIRS= cam/scsi \
|
||||
dev/acpica dev/an dev/bktr dev/firewire dev/hwpmc \
|
||||
@ -111,7 +111,7 @@ INCSLINKS+= sys/$i ${INCLUDEDIR}/$i
|
||||
INCSLINKS+= machine/$i ${INCLUDEDIR}/$i
|
||||
.endfor
|
||||
.for i in ${PHDRS}
|
||||
INCSLINKS+= posix4/$i ${INCLUDEDIR}/$i
|
||||
INCSLINKS+= sys/$i ${INCLUDEDIR}/$i
|
||||
.endfor
|
||||
|
||||
.if ${MACHINE} != ${MACHINE_ARCH}
|
||||
|
@ -11,7 +11,7 @@ SUBDIR= boot
|
||||
CSCOPEDIRS= coda compat conf contrib crypto ddb dev fs geom gnu i4b isa \
|
||||
isofs kern libkern modules net net80211 netatalk netatm \
|
||||
netgraph netinet netinet6 netipx netkey netnatm netncp \
|
||||
netsmb nfs nfsclient nfs4client rpc pccard pci posix4 sys \
|
||||
netsmb nfs nfsclient nfs4client rpc pccard pci sys \
|
||||
ufs vm ${ARCHDIR}
|
||||
|
||||
ARCHDIR ?= ${MACHINE}
|
||||
|
@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/proc.h>
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/resourcevar.h>
|
||||
#include <sys/sched.h>
|
||||
#include <sys/signalvar.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/syscallsubr.h>
|
||||
@ -73,8 +74,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <vm/vm_object.h>
|
||||
#include <vm/swap_pager.h>
|
||||
|
||||
#include <posix4/sched.h>
|
||||
|
||||
#include <compat/linux/linux_sysproto.h>
|
||||
#include <compat/linux/linux_emul.h>
|
||||
#include <compat/linux/linux_misc.h>
|
||||
|
@ -1315,6 +1315,7 @@ kern/imgact_shell.c standard
|
||||
kern/inflate.c optional gzip
|
||||
kern/init_main.c standard
|
||||
kern/init_sysent.c standard
|
||||
kern/ksched.c optional _kposix_priority_scheduling
|
||||
kern/kern_acct.c standard
|
||||
kern/kern_acl.c standard
|
||||
kern/kern_alq.c optional alq
|
||||
@ -1375,6 +1376,8 @@ kern/link_elf.c standard
|
||||
kern/linker_if.m standard
|
||||
kern/md4c.c optional netsmb
|
||||
kern/md5c.c standard
|
||||
kern/p1003_1b.c standard
|
||||
kern/posix4_mib.c standard
|
||||
kern/sched_4bsd.c optional sched_4bsd
|
||||
kern/sched_core.c optional sched_core
|
||||
kern/sched_ule.c optional sched_ule
|
||||
@ -1919,9 +1922,6 @@ pci/ncr.c optional ncr pci
|
||||
pci/nfsmb.c optional nfsmb pci
|
||||
pci/viapm.c optional viapm pci
|
||||
pci/xrpu.c optional xrpu pci
|
||||
posix4/ksched.c optional _kposix_priority_scheduling
|
||||
posix4/p1003_1b.c standard
|
||||
posix4/posix4_mib.c standard
|
||||
rpc/rpcclnt.c optional nfsclient
|
||||
security/audit/audit.c optional audit
|
||||
security/audit/audit_arg.c optional audit
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include <sys/signal.h>
|
||||
#include <sys/acl.h>
|
||||
#include <posix4/_semaphore.h>
|
||||
#include <sys/_semaphore.h>
|
||||
#include <sys/ucontext.h>
|
||||
|
||||
#include <bsm/audit_kevents.h>
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include <sys/signal.h>
|
||||
#include <sys/acl.h>
|
||||
#include <posix4/_semaphore.h>
|
||||
#include <sys/_semaphore.h>
|
||||
#include <sys/ucontext.h>
|
||||
|
||||
#include <bsm/audit_kevents.h>
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include <sys/signal.h>
|
||||
#include <sys/acl.h>
|
||||
#include <posix4/_semaphore.h>
|
||||
#include <sys/_semaphore.h>
|
||||
#include <sys/ucontext.h>
|
||||
|
||||
#include <bsm/audit_kevents.h>
|
||||
|
@ -47,7 +47,6 @@ COMM= ${SYS}/dev/advansys/*.[ch] \
|
||||
${SYS}/netnatm/*.[ch] \
|
||||
${SYS}/nfs/*.[ch] \
|
||||
${SYS}/pci/*.[ch] \
|
||||
${SYS}/posix4/*.[ch] \
|
||||
${SYS}/ufs/ffs/*.[ch] \
|
||||
${SYS}/ufs/ufs/*.[ch] \
|
||||
${SYS}/vm/*.[ch] \
|
||||
@ -64,7 +63,6 @@ COMMDIR1= ${SYS}/conf \
|
||||
${SYS}/netnatm \
|
||||
${SYS}/nfs \
|
||||
${SYS}/pci \
|
||||
${SYS}/posix4 \
|
||||
${SYS}/vm \
|
||||
${SYS}/sys
|
||||
|
||||
|
@ -57,9 +57,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/namei.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/posix4.h>
|
||||
#include <sys/pioctl.h>
|
||||
#include <sys/resourcevar.h>
|
||||
#include <sys/sched.h>
|
||||
#include <sys/sleepqueue.h>
|
||||
#include <sys/smp.h>
|
||||
#include <sys/stat.h>
|
||||
@ -76,7 +76,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <vm/vm_extern.h>
|
||||
#include <vm/uma.h>
|
||||
|
||||
#include <posix4/posix4.h>
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#include <security/audit/audit.h>
|
||||
|
@ -50,13 +50,12 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/priv.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/posix4.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/timers.h>
|
||||
#include <sys/timetc.h>
|
||||
#include <sys/vnode.h>
|
||||
|
||||
#include <posix4/posix4.h>
|
||||
|
||||
#include <security/mac/mac_framework.h>
|
||||
|
||||
#include <vm/vm.h>
|
||||
|
@ -125,7 +125,7 @@ s/\$//g
|
||||
printf "#define\t%s\n\n", sysproto_h > sysarg
|
||||
printf "#include <sys/signal.h>\n" > sysarg
|
||||
printf "#include <sys/acl.h>\n" > sysarg
|
||||
printf "#include <posix4/_semaphore.h>\n" > sysarg
|
||||
printf "#include <sys/_semaphore.h>\n" > sysarg
|
||||
printf "#include <sys/ucontext.h>\n\n" > sysarg
|
||||
printf "#include <bsm/audit_kevents.h>\n\n" > sysarg
|
||||
printf "struct proc;\n\n" > sysarg
|
||||
|
@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/mqueue.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/namei.h>
|
||||
#include <sys/posix4.h>
|
||||
#include <sys/poll.h>
|
||||
#include <sys/priv.h>
|
||||
#include <sys/proc.h>
|
||||
@ -79,7 +80,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/unistd.h>
|
||||
#include <sys/vnode.h>
|
||||
#include <machine/atomic.h>
|
||||
#include <posix4/posix4.h>
|
||||
|
||||
/*
|
||||
* Limits and constants
|
||||
|
@ -42,14 +42,17 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/sysproto.h>
|
||||
#include <sys/eventhandler.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ksem.h>
|
||||
#include <sys/priv.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/posix4.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/module.h>
|
||||
#include <sys/condvar.h>
|
||||
#include <sys/sem.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/semaphore.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysent.h>
|
||||
@ -57,11 +60,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/time.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/fcntl.h>
|
||||
|
||||
#include <posix4/ksem.h>
|
||||
#include <posix4/posix4.h>
|
||||
#include <posix4/semaphore.h>
|
||||
#include <posix4/_semaphore.h>
|
||||
#include <sys/_semaphore.h>
|
||||
|
||||
#include <security/mac/mac_framework.h>
|
||||
|
||||
|
@ -38,6 +38,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/lock.h>
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/unistd.h>
|
||||
#include <sys/posix4.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/resourcevar.h>
|
||||
#include <sys/signalvar.h>
|
||||
@ -57,7 +58,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <machine/atomic.h>
|
||||
|
||||
#include <posix4/posix4.h>
|
||||
#include <vm/vm.h>
|
||||
#include <vm/vm_extern.h>
|
||||
#include <vm/pmap.h>
|
||||
|
@ -37,14 +37,13 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ksem.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/mac.h>
|
||||
#include <sys/module.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#include <posix4/ksem.h>
|
||||
|
||||
#include <sys/mac_policy.h>
|
||||
|
||||
#include <security/mac/mac_framework.h>
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <sys/conf.h>
|
||||
#include <sys/extattr.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ksem.h>
|
||||
#include <sys/mac.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/mman.h>
|
||||
@ -66,8 +67,6 @@
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
|
||||
#include <posix4/ksem.h>
|
||||
|
||||
#include <fs/devfs/devfs.h>
|
||||
|
||||
#include <net/bpfdesc.h>
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <sys/conf.h>
|
||||
#include <sys/extattr.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ksem.h>
|
||||
#include <sys/mac.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/malloc.h>
|
||||
@ -66,8 +67,6 @@
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
|
||||
#include <posix4/ksem.h>
|
||||
|
||||
#include <fs/devfs/devfs.h>
|
||||
|
||||
#include <net/bpfdesc.h>
|
||||
|
@ -51,6 +51,7 @@
|
||||
#include <sys/conf.h>
|
||||
#include <sys/extattr.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ksem.h>
|
||||
#include <sys/mac.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/proc.h>
|
||||
@ -68,8 +69,6 @@
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
|
||||
#include <posix4/ksem.h>
|
||||
|
||||
#include <fs/devfs/devfs.h>
|
||||
|
||||
#include <net/bpfdesc.h>
|
||||
|
@ -46,6 +46,7 @@
|
||||
#include <sys/kdb.h>
|
||||
#include <sys/extattr.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ksem.h>
|
||||
#include <sys/mac.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/mount.h>
|
||||
@ -63,8 +64,6 @@
|
||||
#include <sys/sem.h>
|
||||
#include <sys/shm.h>
|
||||
|
||||
#include <posix4/ksem.h>
|
||||
|
||||
#include <fs/devfs/devfs.h>
|
||||
|
||||
#include <net/bpfdesc.h>
|
||||
|
@ -11,8 +11,8 @@
|
||||
|
||||
#include <sys/signal.h>
|
||||
#include <sys/acl.h>
|
||||
#include <posix4/_semaphore.h>
|
||||
#include <sys/ucontext.h>
|
||||
#include <sys/_semaphore.h>
|
||||
|
||||
#include <bsm/audit_kevents.h>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#ifndef _SYS_THR_H_
|
||||
#define _SYS_THR_H_
|
||||
|
||||
#include <posix4/sched.h>
|
||||
#include <sys/sched.h>
|
||||
|
||||
/* Create the thread in the suspended state. */
|
||||
#define THR_SUSPENDED 0x0001
|
||||
|
Loading…
Reference in New Issue
Block a user