mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 11:20:58 +01:00
Remove unused LIBCOMPAT keyword from syscalls.master.
This commit is contained in:
parent
e2c3b3c7fe
commit
d40177139e
@ -13,7 +13,7 @@
|
||||
; case where the event exists, but we don't want auditing, the
|
||||
; event should be #defined to AUE_NULL in audit_kevents.h.
|
||||
; type one of STD, OBSOL, UNIMPL, COMPAT, COMPAT4, COMPAT6,
|
||||
; COMPAT7, LIBCOMPAT, NODEF, NOARGS, NOPROTO, NOSTD
|
||||
; COMPAT7, NODEF, NOARGS, NOPROTO, NOSTD
|
||||
; The COMPAT* options may be combined with one or more NO*
|
||||
; options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
|
||||
; name psuedo-prototype of syscall routine
|
||||
@ -29,7 +29,6 @@
|
||||
; COMPAT4 included on COMPAT4 #ifdef (FreeBSD 4 compat)
|
||||
; COMPAT6 included on COMPAT6 #ifdef (FreeBSD 6 compat)
|
||||
; COMPAT7 included on COMPAT7 #ifdef (FreeBSD 7 compat)
|
||||
; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
|
||||
; OBSOL obsolete, not included in system, only specifies name
|
||||
; UNIMPL not implemented, placeholder only
|
||||
; NOSTD implemented but as a lkm that can be statically
|
||||
|
@ -22,7 +22,6 @@
|
||||
; types:
|
||||
; STD always included
|
||||
; COMPAT included on COMPAT #ifdef
|
||||
; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
|
||||
; OBSOL obsolete, not included in system, only specifies name
|
||||
; UNIMPL not implemented, placeholder only
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
; types:
|
||||
; STD always included
|
||||
; COMPAT included on COMPAT #ifdef
|
||||
; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
|
||||
; OBSOL obsolete, not included in system, only specifies name
|
||||
; UNIMPL not implemented, placeholder only
|
||||
|
||||
|
@ -497,23 +497,6 @@ s/\$//g
|
||||
syscall++
|
||||
next
|
||||
}
|
||||
type("LIBCOMPAT") {
|
||||
ncompat++
|
||||
parseline()
|
||||
printf("%s\to%s();\n", rettype, funcname) > syscompatdcl
|
||||
printf("\t{ compat(%s,%s), %s, NULL, 0, 0, %s },",
|
||||
argssize, funcname, auditev, flags) > sysent
|
||||
align_sysent_comment(8 + 9 + \
|
||||
length(argssize) + 1 + length(funcname) + length(auditev) + length(flags) + 4)
|
||||
printf("/* %d = old %s */\n", syscall, funcalias) > sysent
|
||||
printf("\t\"old.%s\",\t\t/* %d = old %s */\n",
|
||||
funcalias, syscall, funcalias) > sysnames
|
||||
printf("#define\t%s%s\t%d\t/* compatibility; still used by libc */\n",
|
||||
syscallprefix, funcalias, syscall) > syshdr
|
||||
printf(" \\\n\t%s.o", funcalias) > sysmk
|
||||
syscall++
|
||||
next
|
||||
}
|
||||
type("OBSOL") {
|
||||
printf("\t{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 },") > sysent
|
||||
align_sysent_comment(34)
|
||||
|
@ -12,7 +12,7 @@
|
||||
; case where the event exists, but we don't want auditing, the
|
||||
; event should be #defined to AUE_NULL in audit_kevents.h.
|
||||
; type one of STD, OBSOL, UNIMPL, COMPAT, COMPAT4, COMPAT6,
|
||||
; COMPAT7, LIBCOMPAT, NODEF, NOARGS, NOPROTO, NOSTD
|
||||
; COMPAT7, NODEF, NOARGS, NOPROTO, NOSTD
|
||||
; The COMPAT* options may be combined with one or more NO*
|
||||
; options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
|
||||
; name psuedo-prototype of syscall routine
|
||||
@ -28,7 +28,6 @@
|
||||
; COMPAT4 included on COMPAT4 #ifdef (FreeBSD 4 compat)
|
||||
; COMPAT6 included on COMPAT6 #ifdef (FreeBSD 6 compat)
|
||||
; COMPAT7 included on COMPAT7 #ifdef (FreeBSD 7 compat)
|
||||
; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
|
||||
; OBSOL obsolete, not included in system, only specifies name
|
||||
; UNIMPL not implemented, placeholder only
|
||||
; NOSTD implemented but as a lkm that can be statically
|
||||
|
Loading…
Reference in New Issue
Block a user