glibc/login
Adhemerval Zanella 2b0b9a1c85 Consolidate remaning non cancellable definitions
This patch consolidate the remaning non cancellable syscall definitions
on not-cancel.h header.  They are:

  * __fcntl_nocancel: Moved from fcntl.h to not-cancel.h.
  * __sigsuspend_nocancel: Removed since 988f991b50 it is not used or
    defined anymore.
  * __nanosleep_nocancel: Removed since 6f33fd046b it is defined on
    not-cancel.h.

Now all non-cancellable syscall definition are defined on not-cancel
(the only exceptions is the stdio symbol __fxprintf_nocancel which
uses non cancellable open and it is used on getopt implementation).

Checked on x86_64-linux-gnu and with build-many-glibc.py.

	* include/fcntl.h (__fcntl_nocancel): Remove definition.
	* include/signal.h (__sigsuspend_nocancel): Likewise.
	* include/time.h (__nanosleep_nocancel): Likewise.
	* sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
	* login/utmp_file.c: Include non cancellable syscall header.
	* sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
	prototype.
2017-08-23 10:47:03 -03:00
..
programs Update copyright dates not handled by scripts/update-copyrights. 2017-01-01 00:26:24 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Versions Move getlogin_r_chk to login/ subdir. 2013-05-06 15:58:44 -07:00
endutxent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
forkpty.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getlogin.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getlogin_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getlogin_r_chk.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getpt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutent_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutid.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutid_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutline.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutline_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutmpx.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutxent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutxid.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutxline.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
grantpt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lastlog.h Update. 1997-06-21 02:59:26 +00:00
login.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
login_tty.c Convert 703 function definitions to prototype style. 2015-10-16 20:21:49 +00:00
logout.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
logwtmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
openpty.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ptsname.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ptsname_r_chk.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pty.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pututxline.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
setlogin.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
setutxent.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-getlogin.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-grantpt.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-ptsname.c Remove check for NULL buffer passed to `ptsname_r' 2017-06-07 17:37:59 +02:00
tst-utmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-utmpx.c Update. 1998-06-02 12:58:14 +00:00
unlockpt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
updwtmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
updwtmpx.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utmp-private.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utmp.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utmp_file.c Consolidate remaning non cancellable definitions 2017-08-23 10:47:03 -03:00
utmpname.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utmpxname.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00