Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern alias rump_sysent to sysent, since the linux compat...



details:   https://anonhg.NetBSD.org/src/rev/eaefe17081a7
branches:  trunk
changeset: 781654:eaefe17081a7
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Sep 20 17:46:21 2012 +0000

description:
alias rump_sysent to sysent, since the linux compat code wants to
access it (it calls ptrace, so 0 practical impact here, though).

diffstat:

 sys/kern/makesyscalls.sh |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7cf55cd0e9ec -r eaefe17081a7 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Thu Sep 20 15:50:20 2012 +0000
+++ b/sys/kern/makesyscalls.sh  Thu Sep 20 17:46:21 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: makesyscalls.sh,v 1.125 2012/08/03 18:08:01 matt Exp $
+#      $NetBSD: makesyscalls.sh,v 1.126 2012/09/20 17:46:21 pooka Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -964,6 +964,7 @@
        printf("};\n") > sysent
        printf("};\n") > rumpsysent
        printf("CTASSERT(__arraycount(rump_sysent) == SYS_NSYSENT);\n") > rumpsysent
+       printf("__strong_alias(sysent,rump_sysent);\n") > rumpsysent
        printf("#endif /* RUMP_CLIENT */\n") > rumpsysent
        if (haverumpcalls)
                printf("#endif /* !RUMP_CLIENT */\n") > sysprotos



Home | Main Index | Thread Index | Old Index