Commit Graph

251 Commits

Author SHA1 Message Date
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
44b6aa4c8b Mostly mdoc improvements, some typos. 2003-04-16 12:53:37 +00:00
christos
8099c8302c add functions to retrieve option values. 2003-04-11 17:36:57 +00:00
perry
8cb755776e runnning->running from Igor Sobrado, PR misc/19814 2003-03-31 18:49:45 +00:00
lukem
9b087b0ba0 Clear O_NONBLOCK correctly (previous code probably only worked because
O_NONBLOCK and F_SETFL are the same value).
Obtained from FreeBSD PR 8681 via FreeBSD's usr.bin/wall/ttymsg.c 1.5.
2003-03-27 12:04:57 +00:00
wiz
2c30441d13 Try to get some consistency in the used macros; other minor fixes. 2003-03-22 15:46:47 +00:00
jdolecek
1edd42a9d2 move getmntopts(3) to libutil, build and install also it's manpage
bump libutil minor
adjust individual mount_*/Makefile to use libutil getmntopts(3)
2003-03-22 12:43:57 +00:00
grant
104b35fe93 'NetBSD.org' and some mdoc fixes. 2003-02-14 16:29:11 +00:00
petrov
2bb9ea7350 strcmp needs string.h. 2003-02-14 04:03:27 +00:00
fvdl
a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
atatat
dd0a8acd21 The next release will be 2.0, not 1.7. 2003-01-19 21:25:36 +00:00
wiz
1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz
1b3497f4e1 Sync with other libutil man pages. 2002-12-22 02:19:15 +00:00
wiz
2e0828a8a8 Misc fixes. 2002-12-18 20:21:11 +00:00
scw
4f0fde8807 Bump minor number for getlabel{sector,offset}() addition. 2002-12-12 09:46:49 +00:00
scw
0c83fd4944 Add getlabelsector() and getlabeloffset() as wrappers around the
KERN_LABELSECTOR and KERN_LABELOFFSET sysctls.
2002-12-12 09:45:32 +00:00
lukem
b1e79510cf - Migrate fparseln(3) from libutil to libc, where it should have been in
the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).
2002-11-30 03:04:44 +00:00
itojun
5d1183fefb use strlcpy/cat 2002-11-16 23:30:32 +00:00
wiz
a5338d0c0c Spell out month name in .Dd. Use .Fn instead of .Fo/.Fc and .Fa's. 2002-10-12 22:19:25 +00:00
elric
448f621758 Added two functions disklabel_dkcksum() and disklabel_scan() to libutil
so that they can be shared by disklabel(8) and cgdconfig(8).
2002-10-12 20:53:15 +00:00
wiz
e5caf371d2 dynamically with two l. 2002-10-02 10:48:26 +00:00
wiz
27adb020b8 New sentence, new line. From Robert Elz. 2002-10-01 19:36:30 +00:00
jdolecek
961e3a840f put utmpx/wtmpx routines to separate files, so that programs overriding the
utmp/wtmp routines could still be linked static
fixes e.g. static build of ftpd
2002-09-27 20:42:46 +00:00
wiz
4a47c952db Add documentation for utmpx and some related functions.
Thanks for some explanations to christos, and for some STANDARDS hints
to Klaus Klein.
2002-09-27 15:02:24 +00:00
wennmach
ced9268418 s/_PASSWD_NOCHG/_PASSWORD_NOCHG/
s/_PASSWD_NOEXP/_PASSWORD_NOEXP/
2002-09-26 11:47:35 +00:00
christos
d0a6aa04fc Add rcsid, config.h 2002-09-20 21:11:11 +00:00
christos
4ac3045a5a Add snprintb(3) inspired from bitmask_snprintf(9), but made to look like
more like snprintf(3). Discussed with thorpej.
2002-09-20 21:10:10 +00:00
christos
d571f02f7d Don't bother calling secure_path() is kernel == _PATH_UNIX. If you are going
to default to it and use it anyway, why do the security check?
2002-09-12 14:42:15 +00:00
tron
ef63cbff6b Bump minor number to 3 because there are already systems with
"libutil.so.6.2" to avoid further problems.
2002-08-23 10:34:02 +00:00
abs
a086fb2909 Move humanize_number(3) from libutil to libc as per discussion on tech-misc
Revert minor number bump on libutil (with note to skip it next update), and
bump libc.
2002-08-22 17:24:08 +00:00
lukem
ec5dbc56b8 Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
Makefile (before including <bsd.own.mk>)
2002-08-19 14:55:14 +00:00
lukem
ebb6fc9eb8 Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
itojun
2abe377059 defend against malicious line in ut_line, which could cause unwanted
writes to anything under /dev.  revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
enami
38540fc05e Cosmetic changes. 2002-08-15 04:47:12 +00:00
gmcgarry
3e5aabbe90 Clarify what functionality _is_ included and _should be_ included in libutil. 2002-08-12 20:03:05 +00:00
martin
ab77398ff9 Do not assume int64_t is printable with %qd - on 64 bit ports it isn't.
Use %lld instead and cast the args to (long long) explicitly.

I'm not sure about our policy vs. the C99 format string macros in
basesrc - should we use those here?
2002-08-12 09:06:59 +00:00
thorpej
214fe87eb9 Actually bump the shlib version to 6.2 as abs intended to. 2002-08-10 01:51:43 +00:00
wiz
91223bd061 Actually, the page was last modified today. 2002-08-08 17:04:32 +00:00
wiz
8afa8486fc Minor cleanup, correct HISTORY. 2002-08-08 17:03:46 +00:00
abs
35a808e4e8 Add humanize_number.3 from Tomas Svensson in PR lib/15508.
Bump version of libutil
2002-08-08 16:50:35 +00:00
wiz
4068c80842 Fix Fn argument. 2002-08-06 12:58:45 +00:00
christos
8720535dd6 add utmpx/wtmpx processing routines. 2002-07-27 23:49:23 +00:00
yamt
673cbedc13 import CAVEATS sections from OpenBSD.
with little tweak by me.
2002-07-10 14:37:12 +00:00
simonb
9a430fa482 Correct the list of pseudo-terminals in the FILES section. 2002-05-30 01:42:58 +00:00
wiz
5f7ebe2497 Grammar fix, and drop a .Pp after a section header. 2002-05-22 10:22:41 +00:00
itojun
0ee7a49136 if called multiple times with different names, only the last pid file
will be kept
2002-05-22 07:37:26 +00:00
itojun
c2c2980f42 change return type of pidfile(3) to int (-1 on error), to inform caller
of errors.  behavior now in sync with openbsd implementation.
(see tech-userlevel and bsd-api-discuss)
2002-05-22 07:31:40 +00:00
ad
8cde67eba2 Back out previous - it will come as a surprise to many users. 2002-04-17 11:14:28 +00:00
perry
1e77807ee4 Per discussion on tech-security and tech-userlevel, upgrade default
passwd type to md5. Note that with the passwd.conf facility, one may
easily "downgrade" the default to type old if one wishes, and that
existing passwds continue to work as before -- this only changes the
default for new passwds.
2002-04-15 03:06:46 +00:00
atatat
d76e3cd5fe Fix openpty() so that it correctly scans the entire list of possible
ttys.  The new ttys (g-zA-Z) are "optional", since they may not be
present, and their absence is not a "fatal" error.
2002-03-09 20:09:28 +00:00