util-linux/login-utils
Ruediger Meier f2ff0adf5d misc: fix some warnings
sys-utils/prlimit.c: In function 'do_prlimit':
sys-utils/prlimit.c:367:16: warning: format '%ju' expects argument of type 'uintmax_t', but argument 2 has type 'rlim_t {aka long long unsigned int}' [-Wformat=]
     printf("<%ju", new->rlim_cur);

lib/plymouth-ctrl.c: In function 'open_un_socket_and_connect':
lib/plymouth-ctrl.c:88:20: warning: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types]
  ret = connect(fd, &su, offsetof(struct sockaddr_un, sun_path) + 1 + strlen(su.sun_path+1));
                    ^
In file included from lib/plymouth-ctrl.c:35:0:
/usr/include/sys/socket.h:314:5: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *'
 int connect (int, const struct sockaddr *, socklen_t);

login-utils/last.c: In function 'list':
login-utils/last.c:506:54: warning: pointer targets in passing argument 4 of 'dns_lookup' differ in signedness [-Wpointer-sign]
   r = dns_lookup(domain, sizeof(domain), ctl->useip, p->ut_addr_v6);
                                                      ^
login-utils/last.c:291:12: note: expected 'int32_t * {aka int *}' but argument is of type 'unsigned int *'
 static int dns_lookup(char *result, int size, int useip, int32_t *a)
            ^~~~~~~~~~

In file included from sys-utils/hwclock-cmos.c:92:0:
sys-utils/hwclock.h:67:32: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
 extern double time_diff(struct timeval subtrahend, struct timeval subtractor);

misc-utils/test_uuidd.c: In function 'create_nthreads':
misc-utils/test_uuidd.c:187:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
        proc->pid, (int) th->tid, th->index));

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-01 10:28:18 +02:00
..
Makemodule.am chfn, chsh: use readline(3) to receive user input 2017-05-02 23:22:05 +01:00
auth.c login-utils: Enable building util-linux against OpenPAM 2014-12-15 10:16:03 +01:00
auth.h chsh-chfn: Move pam auth to its own function, factoring out common code 2013-02-13 09:28:33 +01:00
ch-common.c chfn, chsh: share illegal_passwd_chars() function 2015-01-05 22:52:50 +00:00
ch-common.h chfn, chsh: share illegal_passwd_chars() function 2015-01-05 22:52:50 +00:00
chfn.1 man: chfn(1): add chsh and login.defs to SEE ALSO 2017-01-19 22:52:57 +01:00
chfn.c chfn: disable tab completion 2017-05-19 11:43:34 +02:00
chsh.1 chsh: use -h as shorthand for --help instead of -u 2017-01-19 23:11:42 +01:00
chsh.c chfn, chsh: use readline(3) to receive user input 2017-05-02 23:22:05 +01:00
islocal.c login-utils: use libc error printing facility 2014-12-09 09:19:20 +01:00
islocal.h login: rewrite is_local() to remove limits on line length 2008-04-14 13:12:14 +02:00
last.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
last.c misc: fix some warnings 2017-06-01 10:28:18 +02:00
lastb.1 last: merge sysvinit last/lastb 2013-08-12 12:07:52 +02:00
libuser.c chsh-chfn: fix bugs, improve compilation 2013-02-13 13:44:34 +01:00
libuser.h chsh: Add libuser support 2013-02-13 09:37:15 +01:00
login.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
login.c login-utils: switch to utmpx.h 2016-12-07 12:35:24 +01:00
logindefs.c login: prevent OOB read on illegal /etc/hushlogins 2017-03-13 12:46:49 +01:00
logindefs.h lslogins: add functionality 2014-05-15 13:55:59 +02:00
lslogins.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
lslogins.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
newgrp.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
newgrp.c newgrp: use libc explicit_bzero() when it is available 2017-01-16 12:30:09 +01:00
nologin.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
nologin.c nologin: don't call fstat() after failed open() [coverity scan] 2017-05-17 12:59:33 +02:00
runuser.1 runuser: add "--" to SYNOPSIS 2017-01-19 12:04:05 +01:00
runuser.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
selinux_utils.c chfn: chsh: use selinux_check_passwd_access() 2016-06-14 13:38:13 +02:00
selinux_utils.h chfn: chsh: use selinux_check_passwd_access() 2016-06-14 13:38:13 +02:00
setpwnam.c setpwnam: fix memory leak 2016-04-19 21:27:54 +01:00
setpwnam.h chsh, chfn, vipw: fix filenames collision 2015-08-24 10:05:55 +02:00
su-common.c su: remove duplicate const declaration 2017-05-16 14:55:32 +02:00
su-common.h su: move generic su code to su-common.c 2012-09-04 17:00:30 +02:00
su.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
su.c su: fix stupid typo 2012-11-01 13:03:28 +01:00
sulogin-consoles.c sulogin: reduce vulnerability surface 2017-05-02 23:22:04 +01:00
sulogin-consoles.h include/ttyutils: add default chardata 2013-01-08 15:42:12 +01:00
sulogin.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
sulogin.c sulogin: add missing type 2017-05-09 11:59:53 +02:00
utmpdump.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
utmpdump.c build-sys: remove duplicate includes 2017-05-12 11:17:02 +02:00
vigr.8 Imported from util-linux-2.7.1 tarball. 2006-12-07 00:25:34 +01:00
vipw.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
vipw.c vipw: use getopt_long() to parse options 2017-05-10 10:53:28 +02:00