diff options
| author | Tom Rhodes <trhodes@FreeBSD.org> | 2006-11-11 16:26:58 +0000 |
|---|---|---|
| committer | Tom Rhodes <trhodes@FreeBSD.org> | 2006-11-11 16:26:58 +0000 |
| commit | 6aeb05d7beb3dca9125aea23d23a4aee6f7edae2 (patch) | |
| tree | 662fae3cb386b3fef99fe533a5744acfbb9353ad | |
| parent | bdd04ab18442d2fa44c9f83bd3a6ae0f9c551d19 (diff) | |
Notes
| -rw-r--r-- | include/Makefile | 4 | ||||
| -rw-r--r-- | sys/Makefile | 2 | ||||
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 3 | ||||
| -rw-r--r-- | sys/conf/files | 6 | ||||
| -rw-r--r-- | sys/i386/ibcs2/ibcs2_proto.h | 2 | ||||
| -rw-r--r-- | sys/i386/ibcs2/ibcs2_xenix.h | 2 | ||||
| -rw-r--r-- | sys/i386/linux/linux_proto.h | 2 | ||||
| -rw-r--r-- | sys/kern/Make.tags.inc | 2 | ||||
| -rw-r--r-- | sys/kern/kern_sig.c | 3 | ||||
| -rw-r--r-- | sys/kern/kern_time.c | 3 | ||||
| -rw-r--r-- | sys/kern/makesyscalls.sh | 2 | ||||
| -rw-r--r-- | sys/kern/uipc_mqueue.c | 2 | ||||
| -rw-r--r-- | sys/kern/uipc_sem.c | 9 | ||||
| -rw-r--r-- | sys/kern/vfs_aio.c | 2 | ||||
| -rw-r--r-- | sys/security/mac/mac_posix_sem.c | 3 | ||||
| -rw-r--r-- | sys/security/mac_biba/mac_biba.c | 3 | ||||
| -rw-r--r-- | sys/security/mac_mls/mac_mls.c | 3 | ||||
| -rw-r--r-- | sys/security/mac_stub/mac_stub.c | 3 | ||||
| -rw-r--r-- | sys/security/mac_test/mac_test.c | 3 | ||||
| -rw-r--r-- | sys/sys/sysproto.h | 2 | ||||
| -rw-r--r-- | sys/sys/thr.h | 2 |
21 files changed, 26 insertions, 37 deletions
diff --git a/include/Makefile b/include/Makefile index 77a34f964353..652958941841 100644 --- a/include/Makefile +++ b/include/Makefile @@ -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} diff --git a/sys/Makefile b/sys/Makefile index 8636e2521840..448b68868764 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -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} diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index cab95c7470dd..178e357f7204 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -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> diff --git a/sys/conf/files b/sys/conf/files index c4fb1c01285c..ff1388ffd795 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -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 diff --git a/sys/i386/ibcs2/ibcs2_proto.h b/sys/i386/ibcs2/ibcs2_proto.h index 04b86d902c2c..f0140306293f 100644 --- a/sys/i386/ibcs2/ibcs2_proto.h +++ b/sys/i386/ibcs2/ibcs2_proto.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> diff --git a/sys/i386/ibcs2/ibcs2_xenix.h b/sys/i386/ibcs2/ibcs2_xenix.h index 5a3164f27f2f..3d35f66a9138 100644 --- a/sys/i386/ibcs2/ibcs2_xenix.h +++ b/sys/i386/ibcs2/ibcs2_xenix.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> diff --git a/sys/i386/linux/linux_proto.h b/sys/i386/linux/linux_proto.h index 09a4f9b251b7..e2484a982ccc 100644 --- a/sys/i386/linux/linux_proto.h +++ b/sys/i386/linux/linux_proto.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> diff --git a/sys/kern/Make.tags.inc b/sys/kern/Make.tags.inc index 421f73cf8c58..c782383bbb09 100644 --- a/sys/kern/Make.tags.inc +++ b/sys/kern/Make.tags.inc @@ -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 diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index a79039ce2432..01730951a58c 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -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> diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c index 53ce9e455520..cae500fe4357 100644 --- a/sys/kern/kern_time.c +++ b/sys/kern/kern_time.c @@ -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> diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index 70cccb1638a9..631d214fee1d 100644 --- a/sys/kern/makesyscalls.sh +++ b/sys/kern/makesyscalls.sh @@ -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 diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c index 9185c0ed9113..9e58c0509d5f 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -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 diff --git a/sys/kern/uipc_sem.c b/sys/kern/uipc_sem.c index 340c1a6831b0..0347a51ae23c 100644 --- a/sys/kern/uipc_sem.c +++ b/sys/kern/uipc_sem.c @@ -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> diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index a9b6b6effa87..763239931a09 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -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> diff --git a/sys/security/mac/mac_posix_sem.c b/sys/security/mac/mac_posix_sem.c index e852779aeed3..5e3941fdba6f 100644 --- a/sys/security/mac/mac_posix_sem.c +++ b/sys/security/mac/mac_posix_sem.c @@ -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> diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c index 3f244ae37b8d..cfafc6cfc066 100644 --- a/sys/security/mac_biba/mac_biba.c +++ b/sys/security/mac_biba/mac_biba.c @@ -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> diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c index 2361abc2996a..d02f03455d2f 100644 --- a/sys/security/mac_mls/mac_mls.c +++ b/sys/security/mac_mls/mac_mls.c @@ -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> diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c index a9c3b853ebe0..dee29e324c4b 100644 --- a/sys/security/mac_stub/mac_stub.c +++ b/sys/security/mac_stub/mac_stub.c @@ -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> diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index 921e641f7e91..d968ec93c7fc 100644 --- a/sys/security/mac_test/mac_test.c +++ b/sys/security/mac_test/mac_test.c @@ -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> diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 00b58bfa54f5..c99ce417749e 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.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> diff --git a/sys/sys/thr.h b/sys/sys/thr.h index 216ef6fc210e..bcf1ef99816a 100644 --- a/sys/sys/thr.h +++ b/sys/sys/thr.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 |
