From e8934e7bd6e68ed3e1f317b6e69adc025a06737e Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Wed, 30 May 1990 19:23:27 -0800 Subject: [PATCH] new copyright notice; use ASMSTR instead of .ascsiz SCCS-vsn: lib/libc/vax/sys/_exit.s 5.7 SCCS-vsn: lib/libc/vax/sys/_getlogin.s 5.4 SCCS-vsn: lib/libc/vax/sys/getegid.s 5.7 SCCS-vsn: lib/libc/vax/sys/geteuid.s 5.7 SCCS-vsn: lib/libc/vax/sys/getppid.s 5.7 SCCS-vsn: lib/libc/vax/sys/reboot.s 5.6 SCCS-vsn: lib/libc/vax/sys/setlogin.s 5.4 --- usr/src/lib/libc/vax/sys/_exit.s | 27 ++++++++------------------- usr/src/lib/libc/vax/sys/_getlogin.s | 28 +++++++++------------------- usr/src/lib/libc/vax/sys/getegid.s | 24 +++++++----------------- usr/src/lib/libc/vax/sys/geteuid.s | 22 ++++++---------------- usr/src/lib/libc/vax/sys/getppid.s | 22 ++++++---------------- usr/src/lib/libc/vax/sys/reboot.s | 22 ++++++---------------- usr/src/lib/libc/vax/sys/setlogin.s | 22 ++++++---------------- 7 files changed, 48 insertions(+), 119 deletions(-) diff --git a/usr/src/lib/libc/vax/sys/_exit.s b/usr/src/lib/libc/vax/sys/_exit.s index b9187a2dac..ebe5242134 100644 --- a/usr/src/lib/libc/vax/sys/_exit.s +++ b/usr/src/lib/libc/vax/sys/_exit.s @@ -1,26 +1,15 @@ -/* - * Copyright (c) 1983 Regents of the University of California. +/*- + * Copyright (c) 1983 The Regents of the University of California. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * %sccs.include.redist.c% */ -#if defined(SYSLIBC_SCCS) && !defined(lint) - .asciz "@(#)_exit.s 5.6 (Berkeley) %G%" -#endif /* SYSLIBC_SCCS and not lint */ - #include "SYS.h" +#if defined(LIBC_SCCS) && !defined(lint) + ASMSTR "@(#)_exit.s 5.7 (Berkeley) %G%" +#endif /* LIBC_SCCS and not lint */ + .align 1 -PSEUDO(_exit,exit) - /* _exit(status) */ +PSEUDO(_exit,exit) /* _exit(status) */ diff --git a/usr/src/lib/libc/vax/sys/_getlogin.s b/usr/src/lib/libc/vax/sys/_getlogin.s index 480e95b8fe..214f6a4207 100644 --- a/usr/src/lib/libc/vax/sys/_getlogin.s +++ b/usr/src/lib/libc/vax/sys/_getlogin.s @@ -1,27 +1,17 @@ -/* - * Copyright (c) 1989 Regents of the University of California. +/*- + * Copyright (c) 1983 The Regents of the University of California. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * %sccs.include.redist.c% */ -#if defined(SYSLIBC_SCCS) && !defined(lint) - .asciz "@(#)_getlogin.s 5.3 (Berkeley) %G%" -#endif /* SYSLIBC_SCCS and not lint */ - #include "SYS.h" +#if defined(LIBC_SCCS) && !defined(lint) + ASMSTR "@(#)_getlogin.s 5.4 (Berkeley) %G%" +#endif /* LIBC_SCCS and not lint */ + /* internal version of getlogin() */ -PSEUDO(_getlogin,getlogin) - ret /* _getlogin(buf, buflen) */ +PSEUDO(_getlogin,getlogin) /* _getlogin(buf, buflen) */ + ret diff --git a/usr/src/lib/libc/vax/sys/getegid.s b/usr/src/lib/libc/vax/sys/getegid.s index 77a2fbcb7f..8a3eb28035 100644 --- a/usr/src/lib/libc/vax/sys/getegid.s +++ b/usr/src/lib/libc/vax/sys/getegid.s @@ -1,26 +1,16 @@ /* - * Copyright (c) 1983 Regents of the University of California. + * Copyright (c) 1983 The Regents of the University of California. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * %sccs.include.redist.c% */ -#if defined(SYSLIBC_SCCS) && !defined(lint) - .asciz "@(#)getegid.s 5.6 (Berkeley) %G%" -#endif /* SYSLIBC_SCCS and not lint */ - #include "SYS.h" -PSEUDO(getegid,getgid) +#if defined(LIBC_SCCS) && !defined(lint) + ASMSTR "@(#)getegid.s 5.7 (Berkeley) %G%" +#endif /* LIBC_SCCS and not lint */ + +PSEUDO(getegid, getgid) movl r1,r0 ret /* egid = getegid(); */ diff --git a/usr/src/lib/libc/vax/sys/geteuid.s b/usr/src/lib/libc/vax/sys/geteuid.s index 271184e397..d6937393e6 100644 --- a/usr/src/lib/libc/vax/sys/geteuid.s +++ b/usr/src/lib/libc/vax/sys/geteuid.s @@ -1,26 +1,16 @@ /* - * Copyright (c) 1983 Regents of the University of California. + * Copyright (c) 1983 The Regents of the University of California. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * %sccs.include.redist.c% */ -#if defined(SYSLIBC_SCCS) && !defined(lint) - .asciz "@(#)geteuid.s 5.6 (Berkeley) %G%" -#endif /* SYSLIBC_SCCS and not lint */ - #include "SYS.h" +#if defined(LIBC_SCCS) && !defined(lint) + ASMSTR "@(#)geteuid.s 5.7 (Berkeley) %G%" +#endif /* LIBC_SCCS and not lint */ + PSEUDO(geteuid,getuid) movl r1,r0 ret /* euid = geteuid(); */ diff --git a/usr/src/lib/libc/vax/sys/getppid.s b/usr/src/lib/libc/vax/sys/getppid.s index 6ae88cbbd4..266313b3a3 100644 --- a/usr/src/lib/libc/vax/sys/getppid.s +++ b/usr/src/lib/libc/vax/sys/getppid.s @@ -1,26 +1,16 @@ /* - * Copyright (c) 1983 Regents of the University of California. + * Copyright (c) 1983 The Regents of the University of California. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * %sccs.include.redist.c% */ -#if defined(SYSLIBC_SCCS) && !defined(lint) - .asciz "@(#)getppid.s 5.6 (Berkeley) %G%" -#endif /* SYSLIBC_SCCS and not lint */ - #include "SYS.h" +#if defined(LIBC_SCCS) && !defined(lint) + ASMSTR "@(#)getppid.s 5.7 (Berkeley) %G%" +#endif /* LIBC_SCCS and not lint */ + PSEUDO(getppid,getpid) movl r1,r0 ret /* ppid = getppid(); */ diff --git a/usr/src/lib/libc/vax/sys/reboot.s b/usr/src/lib/libc/vax/sys/reboot.s index cf014d3888..c988f64c7a 100644 --- a/usr/src/lib/libc/vax/sys/reboot.s +++ b/usr/src/lib/libc/vax/sys/reboot.s @@ -1,25 +1,15 @@ /* - * Copyright (c) 1983 Regents of the University of California. + * Copyright (c) 1983 The Regents of the University of California. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * %sccs.include.redist.c% */ -#if defined(SYSLIBC_SCCS) && !defined(lint) - .asciz "@(#)reboot.s 5.5 (Berkeley) %G%" -#endif /* SYSLIBC_SCCS and not lint */ - #include "SYS.h" +#if defined(LIBC_SCCS) && !defined(lint) + ASMSTR "@(#)reboot.s 5.6 (Berkeley) %G%" +#endif /* LIBC_SCCS and not lint */ + SYSCALL(reboot) halt diff --git a/usr/src/lib/libc/vax/sys/setlogin.s b/usr/src/lib/libc/vax/sys/setlogin.s index ce93e76c91..a786e18c09 100644 --- a/usr/src/lib/libc/vax/sys/setlogin.s +++ b/usr/src/lib/libc/vax/sys/setlogin.s @@ -1,26 +1,16 @@ /* - * Copyright (c) 1989 Regents of the University of California. + * Copyright (c) 1983 The Regents of the University of California. * All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * %sccs.include.redist.c% */ -#if defined(SYSLIBC_SCCS) && !defined(lint) - .asciz "@(#)setlogin.s 5.3 (Berkeley) %G%" -#endif /* SYSLIBC_SCCS and not lint */ - #include "SYS.h" +#if defined(LIBC_SCCS) && !defined(lint) + ASMSTR "@(#)setlogin.s 5.4 (Berkeley) %G%" +#endif /* LIBC_SCCS and not lint */ + .globl __logname_valid /* in getlogin() */ SYSCALL(setlogin) -- 2.20.1