Module Name: src
Committed By: pgoyette
Date: Mon Nov 30 23:17:40 UTC 2015
Modified Files:
src/sys/kern: kern_syscall.c makesyscalls.sh
src/sys/sys: proc.h
Log Message:
Rename sc_auto to sc_autoload at suggestion of christos@
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/kern/kern_syscall.c
cvs rdiff -u -r1.156 -r1.157 src/sys/kern/makesyscalls.sh
cvs rdiff -u -r1.325 -r1.326 src/sys/sys/proc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/kern_syscall.c
diff -u src/sys/kern/kern_syscall.c:1.12 src/sys/kern/kern_syscall.c:1.13
--- src/sys/kern/kern_syscall.c:1.12 Mon Nov 30 22:47:19 2015
+++ src/sys/kern/kern_syscall.c Mon Nov 30 23:17:40 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_syscall.c,v 1.12 2015/11/30 22:47:19 pgoyette Exp $ */
+/* $NetBSD: kern_syscall.c,v 1.13 2015/11/30 23:17:40 pgoyette Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_syscall.c,v 1.12 2015/11/30 22:47:19 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_syscall.c,v 1.13 2015/11/30 23:17:40 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_modular.h"
@@ -63,8 +63,8 @@ sys_nomodule(struct lwp *l, const void *
const struct sysent *sy;
const struct emul *em;
- const struct sc_auto *auto_list;
- int code;
+ const struct sc_autoload *auto_list;
+ u_int code;
/*
* Restart the syscall if we interrupted a module unload that
Index: src/sys/kern/makesyscalls.sh
diff -u src/sys/kern/makesyscalls.sh:1.156 src/sys/kern/makesyscalls.sh:1.157
--- src/sys/kern/makesyscalls.sh:1.156 Mon Nov 30 23:00:14 2015
+++ src/sys/kern/makesyscalls.sh Mon Nov 30 23:17:40 2015
@@ -1,4 +1,4 @@
-# $NetBSD: makesyscalls.sh,v 1.156 2015/11/30 23:00:14 pgoyette Exp $
+# $NetBSD: makesyscalls.sh,v 1.157 2015/11/30 23:17:40 pgoyette Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@@ -258,7 +258,7 @@ NR == 1 {
printf " * created from%s\n */\n\n", $0 > sysautoload
printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"%s\");\n\n", tag > sysautoload
printf("#include <sys/proc.h>\n") > sysautoload
- printf("static struct sc_auto " autoloadprefix \
+ printf("static struct sc_autoload " autoloadprefix \
"_syscalls_autoload[] = {\n") > sysautoload
printf " * created from%s\n */\n\n", $0 > rumpcalls
Index: src/sys/sys/proc.h
diff -u src/sys/sys/proc.h:1.325 src/sys/sys/proc.h:1.326
--- src/sys/sys/proc.h:1.325 Mon Nov 30 22:47:19 2015
+++ src/sys/sys/proc.h Mon Nov 30 23:17:40 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.325 2015/11/30 22:47:19 pgoyette Exp $ */
+/* $NetBSD: proc.h,v 1.326 2015/11/30 23:17:40 pgoyette Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -126,7 +126,7 @@ struct pgrp {
/*
* Autoloadable syscall definition
*/
-struct sc_auto {
+struct sc_autoload {
u_int al_code;
const char *al_module;
};