Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167979396
D20183.id57134.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D20183.id57134.diff
View Options
Index: sys/kern/makesyscalls.sh
===================================================================
--- sys/kern/makesyscalls.sh
+++ sys/kern/makesyscalls.sh
@@ -142,18 +142,21 @@
capenabled_string = \"$capenabled\"
"'
+ # Avoid a literal generated file tag here.
+ generated = "@" "generated";
+
split(capenabled_string, capenabled, ",");
printf "\n/* The casts are bogus but will do for now. */\n" > sysent
printf "struct sysent %s[] = {\n",switchname > sysent
printf "/*\n * System call switch table.\n *\n" > syssw
- printf " * DO NOT EDIT-- this file is automatically generated.\n" > syssw
+ printf " * DO NOT EDIT-- this file is automatically " generated ".\n" > syssw
printf " * $%s$\n", "FreeBSD" > syssw
printf " */\n\n" > syssw
printf "/*\n * System call prototypes.\n *\n" > sysarg
- printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysarg
+ printf " * DO NOT EDIT-- this file is automatically " generated ".\n" > sysarg
printf " * $%s$\n", "FreeBSD" > sysarg
printf " */\n\n" > sysarg
printf "#ifndef %s\n", sysproto_h > sysarg
@@ -187,23 +190,23 @@
printf "\n#ifdef %s\n\n", compat11 > syscompat11
printf "/*\n * System call names.\n *\n" > sysnames
- printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysnames
+ printf " * DO NOT EDIT-- this file is automatically " generated ".\n" > sysnames
printf " * $%s$\n", "FreeBSD" > sysnames
printf " */\n\n" > sysnames
printf "const char *%s[] = {\n", namesname > sysnames
printf "/*\n * System call numbers.\n *\n" > syshdr
- printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshdr
+ printf " * DO NOT EDIT-- this file is automatically " generated ".\n" > syshdr
printf " * $%s$\n", "FreeBSD" > syshdr
printf " */\n\n" > syshdr
printf "# FreeBSD system call object files.\n" > sysmk
- printf "# DO NOT EDIT-- this file is automatically generated.\n" > sysmk
+ printf "# DO NOT EDIT-- this file is automatically " generated ".\n" > sysmk
printf "# $%s$\n", "FreeBSD" > sysmk
printf "MIASM = " > sysmk
printf "/*\n * System call argument to DTrace register array converstion.\n *\n" > systrace
- printf " * DO NOT EDIT-- this file is automatically generated.\n" > systrace
+ printf " * DO NOT EDIT-- this file is automatically " generated ".\n" > systrace
printf " * $%s$\n", "FreeBSD" > systrace
printf " * This file is part of the DTrace syscall provider.\n */\n\n" > systrace
printf "static void\nsystrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)\n{\n" > systrace
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 26, 5:46 PM (17 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37317112
Default Alt Text
D20183.id57134.diff (2 KB)
Attached To
Mode
D20183: makesyscalls: use @generated tag in generated files
Attached
Detach File
Event Timeline
Log In to Comment