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
pk
47b4886a7f
Return a well-known constant after becoming a daemon.
1993-12-19 08:44:42 +00:00
mycroft
cbe3d33b6d
P[GD]_SHIFT --> P[GD]SHIFT
1993-12-15 00:50:45 +00:00
cgd
f7c20a904e
look for m68k, rather than hp300 or amiga
1993-12-05 00:33:30 +00:00
cgd
daea3d2f86
add shlib_version file, with version 0.0
1993-11-08 03:48:53 +00:00
mycroft
ababab0671
Forgot to initialize `cp' in setsyserr().
1993-10-13 15:49:55 +00:00
mycroft
db3323c9ef
Remove code for old VM system. Don't use page tables in kvm_procread().
...
Change `#if DEBUG' to `#ifdef DEBUG'. Read some symbols from the kernel
only once.
1993-10-02 07:07:43 +00:00
mycroft
669b9e506a
Last change was almost correct, but we have to check that the pager actually
...
has the page. If not, we go up the shadow chain.
1993-08-16 07:27:06 +00:00
mycroft
9b8df6ad33
Fix an off-by-one error when scanning the vm map for a page. Also, if the
...
page is not in core, don't recurse into shadow objects if we've already found
a pager.
1993-08-15 13:57:51 +00:00
mycroft
cfafc9262a
Fix a bug in virtual to physical address translation on hp300s, and add support
...
for Amigas.
1993-08-15 01:54:29 +00:00
cgd
7fa14d416e
line 860: use CLSHIFT rather than PGSHIFT.
...
line 927: fix bogus indentation
also make sure first chars of buffers are null char, just in
case nothing rational is read...
1993-08-14 11:47:51 +00:00
cgd
b24744dc1d
implement kvm_procread for the hp300. now things mostly work on
...
the hp300, in terms of kvm. still minor strangeness re: sendmail...
1993-08-14 11:44:45 +00:00
mycroft
a617b72b1f
#include <machine/pte.h>, not <hp300/hp300/pte.h>. Also, make it at least
...
compile for non-i386 architectures, but exit with an error message (for now).
1993-08-14 02:20:27 +00:00
mycroft
9417ee8681
Add getbsize() from Berkeley, somewhat modified.
1993-08-06 17:03:54 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
dfb9caab49
Add RCS indentifiers.
1993-08-01 07:32:48 +00:00
mycroft
cda4f8f6ee
Add RCS identifiers.
1993-08-01 05:37:30 +00:00
mycroft
81c63e588b
Read swap in CLBYTES blocks.
1993-07-19 12:37:13 +00:00
mycroft
8ffedb1335
Don't need -I/sys any more.
1993-06-17 13:11:39 +00:00