ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/lib/libc/i386/sys/setlogin.S
(Generate patch)

Comparing trunk/lib/libc/i386/sys/setlogin.S (file contents):
Revision 10582 by laffer1, Sat Dec 7 23:54:44 2013 UTC vs.
Revision 10583 by laffer1, Fri Jun 8 12:06:02 2018 UTC

# Line 1 | Line 1
1 + /* $MidnightBSD$ */
2   /*-
3   * Copyright (c) 1991 The Regents of the University of California.
4   * All rights reserved.
# Line 34 | Line 35
35          .asciz "@(#)setlogin.s  5.2 (Berkeley) 4/12/91"
36   #endif /* LIBC_SCCS and not lint */
37   #include <machine/asm.h>
38 < __FBSDID("$FreeBSD$");
38 > __FBSDID("$FreeBSD: stable/10/lib/libc/i386/sys/setlogin.S 254463 2013-08-17 19:24:58Z jilles $");
39  
40   #include "SYS.h"
41  
42   .globl  CNAME(_logname_valid)           /* in _getlogin() */
43  
44   SYSCALL(setlogin)
44 #ifdef PIC
45          PIC_PROLOGUE
46 <        pushl   %eax
47 <        movl    PIC_GOT(CNAME(_logname_valid)),%eax
48 <        movl    $0,(%eax)
49 <        popl    %eax
46 >        movl    $0,PIC_GOTOFF(CNAME(_logname_valid))
47          PIC_EPILOGUE
51 #else
52        movl    $0,CNAME(_logname_valid)
53 #endif
48          ret                             /* setlogin(name) */
49   END(__sys_setlogin)
50  

Comparing trunk/lib/libc/i386/sys/setlogin.S (property svn:keywords):
Revision 10582 by laffer1, Sat Dec 7 23:54:44 2013 UTC vs.
Revision 10583 by laffer1, Fri Jun 8 12:06:02 2018 UTC

# Line 0 | Line 1
1 + MidnightBSD=%H

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines