freebsd-src/lib/libutil
Don Lewis 9984c2ebf9 MFC r299581
Use strlcpy() instead of strncpy() to ensure that qf->fsname is NUL
terminated.  Don't bother checking for truncation since the subsequent
stat() call should detect that and fail.

Reported by:	Coverity
CID:		1018189
2016-05-20 06:35:14 +00:00
..
tests MFC r270180: 2014-08-27 18:25:14 +00:00
_secure_path.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
_secure_path.c
auth.c Finally nuke auth.conf, nine years after it was deprecated. The only 2012-06-12 17:02:53 +00:00
expand_number.3 Further simplify the code, and update the manpage. 2010-08-15 18:32:06 +00:00
expand_number.c The round of expand_number() cleanups. 2013-08-30 11:21:52 +00:00
flopen.3 Convert files to UTF-8 and add some copyright markers where missing. 2012-01-07 16:13:56 +00:00
flopen.c
fparseln.3
fparseln.c MFC r269015: 2014-08-16 00:54:56 +00:00
gr_util.c MFC r285050, r285053, r285059: 2015-07-06 13:01:01 +00:00
hexdump.3 MFC, r284192: 2015-06-16 02:31:11 +00:00
hexdump.c
humanize_number.3 don't assert on bad args, instead return an error.. 2013-10-07 22:22:57 +00:00
humanize_number.c don't assert on bad args, instead return an error.. 2013-10-07 22:22:57 +00:00
kinfo_getallproc.3 MFC 283622: 2015-09-03 18:23:07 +00:00
kinfo_getallproc.c - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
kinfo_getfile.3 MFC 283622: 2015-09-03 18:23:07 +00:00
kinfo_getfile.c MFC 287442,287537,288944: 2016-02-10 00:08:51 +00:00
kinfo_getproc.3 MFC 283622: 2015-09-03 18:23:07 +00:00
kinfo_getproc.c - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
kinfo_getvmmap.3 MFC 283622: 2015-09-03 18:23:07 +00:00
kinfo_getvmmap.c MFC 287442,287537,288944: 2016-02-10 00:08:51 +00:00
kinfo_getvmobject.3 MFC 283624,283630: 2015-10-01 17:09:20 +00:00
kinfo_getvmobject.c MFC 283624,283630: 2015-10-01 17:09:20 +00:00
kld.3 Convert files to UTF-8 and add some copyright markers where missing. 2012-01-07 16:13:56 +00:00
kld.c UTFize my name. 2010-08-22 11:48:32 +00:00
libutil.h MFC 283624,283630: 2015-10-01 17:09:20 +00:00
login_auth.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
login_auth.c libutil: Use O_CLOEXEC for internal file descriptors from open(). 2013-08-28 21:10:37 +00:00
login_cap.3 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
login_cap.c libutil: Use O_CLOEXEC for internal file descriptors from open(). 2013-08-28 21:10:37 +00:00
login_cap.h Add two new system calls, setloginclass(2) and getloginclass(2). This makes 2011-03-05 12:40:35 +00:00
login_class.3 Add missing resource limits: 2011-03-24 16:06:57 +00:00
login_class.c MFC r273837: 2014-11-01 13:45:01 +00:00
login_crypt.c
login_ok.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
login_ok.c
login_times.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
login_times.c Fix -Wunsequenced warning 2013-06-29 15:52:48 +00:00
login_tty.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
login_tty.c Fix a regression that was introduced in r191882. 2010-01-17 17:52:35 +00:00
login.conf.5 Switch the default password hash from md5 to sha512. 2012-06-19 14:46:18 +00:00
Makefile MFC 283624,283630: 2015-10-01 17:09:20 +00:00
pidfile.3 Add a comment to the example that pidfile_* functions can handle pfh being NULL. 2012-02-08 08:49:30 +00:00
pidfile.c libutil: Use O_CLOEXEC for internal file descriptors from open(). 2013-08-28 21:10:37 +00:00
property.3 Finally nuke auth.conf, nine years after it was deprecated. The only 2012-06-12 17:02:53 +00:00
property.c
pty.3 MFC r290440: 2015-11-13 01:01:16 +00:00
pty.c
pw_util.3 MFC r285050, r285053, r285059: 2015-07-06 13:01:01 +00:00
pw_util.c MFC r285050, r285053, r285059: 2015-07-06 13:01:01 +00:00
quotafile.3 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
quotafile.c MFC r299581 2016-05-20 06:35:14 +00:00
realhostname_sa.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
realhostname.3 Remove unnecessary includes from these libutil man pages. 2012-01-16 21:25:41 +00:00
realhostname.c
stub.c
trimdomain.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
trimdomain.c
uucplock.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
uucplock.c libutil: Use O_CLOEXEC for internal file descriptors from open(). 2013-08-28 21:10:37 +00:00