cjs
09ced7933a
Add pidlock, ttylock, ttyunlock functions.
1997-10-11 02:56:22 +00:00
lukem
5542a7ca43
- define WARNS?=1 in the top-level Makefile.inc, and don't define
...
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
cleaned up
- rcsid police
lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.
1997-10-09 14:36:17 +00:00
lukem
ae6b9c674a
WARNSify
1997-10-09 11:58:15 +00:00
phil
c194103914
Back out my dumb change.
1997-09-30 17:13:50 +00:00
phil
83a44e0389
Add a prototype for opendisk so it will compile. (Should we have
...
a libutil.h for collecting all these prototypes?)
1997-09-30 16:53:12 +00:00
lukem
e6b7ef9676
reorder some checks so that buf is initialised as early as possible
...
(just after the check for buf != NULL)
1997-09-29 06:08:45 +00:00
lukem
1e372f6cf9
implement opendisk(3), as discussed with Jason Thorpe
1997-09-25 04:53:30 +00:00
kleink
66105c37fc
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
...
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
jtc
23bee85a3f
Fix files using old TNF copyright notice
1997-07-31 00:01:15 +00:00
phil
01d72f4add
Change pw_copy to take an optional 4th parameter (old_pw), a pointer
...
to a passwd structure. If a good pointer, make sure old entry in file
is identical to passed passwd (old_pw). If not, abort.
Update documentation, bump major version due to change to pw_copy.
1997-07-24 08:50:31 +00:00
christos
3a693097b3
Remove accidental copy-right attribution.
1997-07-06 19:35:14 +00:00
christos
bb4dad4f04
PR/3832: Enami Tsugutomo: passwd.c will not compile on NetBSD/alpha
1997-07-06 18:17:21 +00:00
mikel
dea51c3ad3
s/ttyaction/ttymsg/g as noted by Dave Huang <khym@bga.com>
...
set argument of .Os to NetBSD 1.3
add xref to writev(2), for a better explanation of uio
misc. cleanup
1997-07-01 06:24:01 +00:00
mikel
adf5a16deb
indicate new location in error message
1997-07-01 06:10:53 +00:00
christos
023f063691
Add ttymsg.3 to the man pages.
1997-06-29 18:45:24 +00:00
christos
f5646a08d4
- RCSID police
...
- Add ttymsg.3
1997-06-29 18:44:03 +00:00
mikel
20690bcbac
include <fnmatch.h> for fnmatch() prototype
...
use __CONCAT() to generate pathenv
1997-06-20 06:42:20 +00:00
mikel
6aa3be2874
add parens for gcc -Wall
1997-06-20 06:17:27 +00:00
lukem
ad8e075042
in pw_scan(), parse [gu]id with strtoul() instead of atoi(), and sanity
...
check a) the parsed value was just a number, b) it doesn't exceed [GU]ID_MAX
1997-05-22 03:08:42 +00:00
mycroft
8feb354e12
Pull in err.h for prototypes.
1997-05-09 18:37:45 +00:00
mycroft
9ba4365fce
Allow the full range of UIDs and GIDs.
1997-04-23 18:51:17 +00:00
mrg
23768a9e9a
remove possibly dangerous sprintf and strcpy calls.
1997-02-11 08:42:03 +00:00
thorpej
3fe99e29ea
Deal with complex EDITOR strings (e.g. `pico -t'). Fixes PR #2520 .
1996-12-09 22:23:34 +00:00
gwr
603bda9c4e
Use _exit after exec failure (not exit).
1996-11-29 18:50:37 +00:00
gwr
d8201fb9f6
Use snprintf instead of sprintf.
1996-11-22 22:04:25 +00:00
gwr
3d5027bee4
Correct lengths used to build environment strings. (Fixes PR#2948)
1996-11-18 18:54:36 +00:00
lukem
01d3778298
fix spello of 'convenience'
1996-11-17 23:09:55 +00:00
fvdl
44fa942695
The FILES section named '/etc/ttyactions'; remove that 's'.
1996-11-16 20:50:12 +00:00
gwr
9d69345016
Allow the ttyname parameter of ttyaction() to be the full pathname of
...
the device, because that is what getty and login have handy. The
"/dev/" part is skipped before scanning the /etc/ttyaction file.
1996-11-14 19:16:01 +00:00
gwr
6ab34f5889
Add ttyaction.3 and ttyaction.c
1996-11-14 17:53:07 +00:00
gwr
5f5eeb9d41
Increment minor version for new function ttyaction().
1996-11-14 17:52:02 +00:00
mycroft
7cc5f9cd7a
Make openpty() work more than once.
1996-11-12 16:39:38 +00:00
lukem
0162911bb5
- fix retval of openpty()
...
- correct two .Fn references to forkpty()
- describe retval of forkpty(); it can return PID as well
- add xref to fork(2)
1996-11-03 14:27:54 +00:00
ghudson
23beafab63
Document that the caller must do a pw_abort() if pw_mkdb() fails.
1996-06-02 19:26:18 +00:00
ghudson
e257708bf2
Don't delete the lock file if pwd_mkdb fails. The caller will take care
...
of it by calling pw_abort() or pw_error() as appropriate.
1996-06-02 19:25:43 +00:00
thorpej
7795b4110f
Add two functions to libutil:
...
- getmaxpartitions: get the value of MAXPARTITIONS for the
currently running system
- getrawpartition: get the value of RAW_PART for the
currently running system
These functions are necessary since the value of MAXPARTITIONS might
be different across platforms which are binary compatible (e.g. amiga
and sun3).
1996-05-16 07:03:28 +00:00
jtc
e42a94845a
Minor reorganization of libutil, including the addition of passward
...
locking and editing functions.
From Greg Hudson <ghudson@MIT.EDU>
1996-05-15 21:42:23 +00:00
pk
8347998a01
Prototypes (PR#1100).
1995-06-05 19:43:53 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
jtc
a8bfd3d17a
Merged with 4.4lite
...
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:17:53 +00:00
cgd
3a724adbf7
minor cleanup; kill unnecessary casts
1994-05-04 10:55:57 +00:00
andrew
fc3e00430e
Support up to 256 ptys.
1994-04-06 08:54:35 +00:00
cgd
f74f70059d
off_t
1994-04-01 03:06:40 +00:00
cgd
19601b5460
_double_ major number bump! joy!
1994-03-27 09:18:25 +00:00
mycroft
025a03852f
Clean up deleted files.
1994-01-27 23:31:23 +00:00
cgd
7999e08c50
get rid of stuff that doesn't belong here
1994-01-27 23:31:19 +00:00
cgd
b7a2e44720
kill force.
1994-01-25 21:03:26 +00:00
cgd
985686cfed
kill the 'prog' arg to getbsize(); it's unneeded. minor rev bump.
1994-01-25 20:06:03 +00:00
jtc
e304028c04
Fix off by one bug in pwcashe routine group_from_gid().
1994-01-19 21:15:46 +00:00
cgd
3a44018403
get rid of the awful RSS hack
1994-01-07 19:10:06 +00:00