CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/10/11 14:23:49
Modified files:
usr.sbin/apm : apm.c
usr.sbin/apmd : apmd.c
usr.sbin/lpr/common_source: startdaemon.c
usr.sbin/lpr/lpd: lpd.c
usr.sbin/syslogd: syslogd.c
Log message:
Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept
sizeof(struct sockaddr_un), so do the simple, portable thing.
Also convert some strncpy() to strlcpy()
ok deraadt@
