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
deraadt
5c20ccab8b
kernel string read function takes much less time. could be optimized further,
...
by making block reads kernel page aligned. (cgd will make the next optimization
in this file)
1993-06-15 07:16:06 +00:00
cgd
566dd48a95
misc minor changes
1993-06-01 01:48:36 +00:00
cgd
5089c41368
update kvm.c for the new way of doing things:
...
(1) add support for new stack format/PS_STRINGS
(2) add support for kvm_getenv
the HP300 support in kvm_procread needs to be looked at/filled in,
from example code in kvm_getu, plus hacks
1993-06-01 01:35:01 +00:00
cgd
12279683e7
don't inlude select.h, but keep header cleanups
1993-05-20 11:53:04 +00:00
cgd
2c6296eff4
fix new select stuff
1993-05-20 10:30:31 +00:00
cgd
de5b7fe74a
fix problem where kvm_getprocs(), ..., kvm_freeprocs(), kvm_getprocs()
...
would get no processes.
1993-05-11 06:44:54 +00:00