The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=9abba78acc2a657f65935352b25b56cb8fe89d03

commit 9abba78acc2a657f65935352b25b56cb8fe89d03
Author:     Warner Losh <[email protected]>
AuthorDate: 2023-04-21 05:28:59 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2023-04-21 05:39:23 +0000

    syscalls: regenerate
    
    The 4.2 sigreturn was a bit of a enima so the 4.2 was remove. Regenerate
    to cope the very minor changes in comments and one string.
    
    Sponsored by:           Netflix
---
 sys/kern/init_sysent.c | 2 +-
 sys/kern/syscalls.c    | 2 +-
 sys/sys/syscall.h      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index b7709bbc9fcb..5c7bf120226e 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -200,7 +200,7 @@ struct sysent sysent[] = {
        { .sy_narg = AS(mkdir_args), .sy_call = (sy_call_t *)sys_mkdir, 
.sy_auevent = AUE_MKDIR, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC },   /* 136 
= mkdir */
        { .sy_narg = AS(rmdir_args), .sy_call = (sy_call_t *)sys_rmdir, 
.sy_auevent = AUE_RMDIR, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC },   /* 137 
= rmdir */
        { .sy_narg = AS(utimes_args), .sy_call = (sy_call_t *)sys_utimes, 
.sy_auevent = AUE_UTIMES, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC },        
/* 138 = utimes */
-       { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, 
.sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT },                     /* 139 = 
obsolete 4.2 sigreturn */
+       { .sy_narg = 0, .sy_call = (sy_call_t *)nosys, .sy_auevent = AUE_NULL, 
.sy_flags = 0, .sy_thrcnt = SY_THR_ABSENT },                     /* 139 = 
obsolete sigreturn */
        { .sy_narg = AS(adjtime_args), .sy_call = (sy_call_t *)sys_adjtime, 
.sy_auevent = AUE_ADJTIME, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC },     /* 
140 = adjtime */
        { compat(AS(ogetpeername_args),getpeername), .sy_auevent = 
AUE_GETPEERNAME, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC },   /* 
141 = old getpeername */
        { compat(0,gethostid), .sy_auevent = AUE_SYSCTL, .sy_flags = 
SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC },      /* 142 = old gethostid */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index bf6281ad38ae..14ac1da10c82 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -145,7 +145,7 @@ const char *syscallnames[] = {
        "mkdir",                        /* 136 = mkdir */
        "rmdir",                        /* 137 = rmdir */
        "utimes",                       /* 138 = utimes */
-       "obs_4.2",                      /* 139 = obsolete 4.2 sigreturn */
+       "obs_sigreturn",                        /* 139 = obsolete sigreturn */
        "adjtime",                      /* 140 = adjtime */
        "compat.getpeername",           /* 141 = old getpeername */
        "compat.gethostid",             /* 142 = old gethostid */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 0e725febf183..c8c369afbc28 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -141,7 +141,7 @@
 #define        SYS_mkdir       136
 #define        SYS_rmdir       137
 #define        SYS_utimes      138
-                               /* 139 is obsolete 4.2 sigreturn */
+                               /* 139 is obsolete sigreturn */
 #define        SYS_adjtime     140
                                /* 141 is old getpeername */
                                /* 142 is old gethostid */

Reply via email to