Commit Graph

41841 Commits

Author SHA1 Message Date
lukem
15b3c2bfae * implement -u user and -g group - to specify the username and/or
group to run as.
  if -u isn't given, user defaults to "nobody".
  if -g isn't given, group defaults to the primary group of user.
  doesn't try and change uid or gid if they're already set ok.
  should solve PR 4218.
* deprecate register
* deprecate trailing \n in syslog messages
1998-07-29 11:31:22 +00:00
lukem
19e9da1bad update to libedit.so.2.2 1998-07-29 11:26:36 +00:00
tron
b3c53533a0 Add "beforedepend" target to fix PR lib/5862. 1998-07-29 11:05:26 +00:00
augustss
75e1bfa81f Note the supported USB hardware. 1998-07-29 09:04:10 +00:00
fair
3a6d08fd98 add references per PR#5820 1998-07-29 07:43:21 +00:00
fair
72dfb07bbe usage & comment string patch, per PR#5859 1998-07-29 07:26:29 +00:00
tsubai
1d3fe14e52 Add .profile 1998-07-29 05:52:19 +00:00
tsubai
04e0026f9b Add md part of sysinst. 1998-07-29 05:41:55 +00:00
tsubai
5b03ac980b Use ite for screen console by default until wscons support. 1998-07-29 05:38:04 +00:00
tsubai
fbd86622a0 Add ``install floppy'' config file. 1998-07-29 05:19:26 +00:00
tls
31d0752b99 change IN_IFADDR_HASH_SIZE to 509, which actually uses no more space than 293 due to rounding up to nearest power of two in hashinit. 1998-07-29 05:18:54 +00:00
ross
871fe159d1 English. 1998-07-29 03:38:30 +00:00
lukem
2a1907a853 check EL_EDITMODE after el_source and disable editing if necessary 1998-07-29 02:46:26 +00:00
lukem
f87d250404 * add more checks for NULL pointers in passed arguments
* implement el_get(EditLine *, int op, void *result), which does the
  inverse of el_set()
* add EL_EDITMODE operation to el_set and el_get; if non zero editing
  is enabled (the default).
* add "edit  on | off" editrc command, which modifies EL_EDITMODE.
  users can now add '*:edit off' in ~/.editrc as an advisory to
  disable editing.

NOTE: at this time EL_EDITMODE is just an indication of the
state of the 'edit' command. It's up to the application to check
this after el_source() or el_parse() to determine if editing is still
required.
1998-07-29 02:26:00 +00:00
thorpej
bbc3c4bf2a Document that these calls can return EINVAL if the total length of the I/O
is more than can be expressed in the ssize_t return value.
1998-07-29 02:11:35 +00:00
thorpej
4b039671de When checking for overflow in the residual count, test against SSIZE_MAX.
The read/write system calls return ssize_t because -1 is used to indicate
error, therefore the transfer size MUST be limited to SSIZE_MAX, otherwise
garbage can be returned to the user.

There is NO change from existing behavior here, only a more precise
definition of that the semantics are, except in the Alpha case, where
the full SSIZE_MAX transfer size can now be realized (ssize_t is 64-bit
on the Alpha).
1998-07-29 02:07:19 +00:00
simonb
b5c503ca40 Remove conditional strdup() compiled if OSF isn't defined, and -DOSF
from the Makefile to guarantee that the private version strdup() isn't
compiled in.
1998-07-29 01:31:50 +00:00
thorpej
eb32016a95 Split up using BWX for PCI config and bus access. Default to using BWX for
the former, but not the latter.  Hopefully, this will address some problems
people have been experiencing w/ some devices on Pyxis systems when BWX
is used for bus access.  (If it's not used for PCI config access, we can
get fatal machine checks while probing behind PCI-PCI bridges!!)
1998-07-29 01:28:44 +00:00
simonb
d3eedb9246 Remove useless BINOWN=root, BINMODE=555 and BINDIR=/usr/sbin 1998-07-29 01:19:00 +00:00
simonb
a72208957e Remove useless BINOWN=root 1998-07-29 01:14:16 +00:00
mark
620bc79e36 Fix the copyin(), copyout() argument validation to check for zero
length copy before returning EFAULT for a bad address.
1998-07-29 00:56:08 +00:00
thorpej
1712467308 fic typi 1998-07-29 00:31:01 +00:00
thorpej
8a2c338704 Use a std options file, like other ports do. 1998-07-29 00:19:20 +00:00
thorpej
7698349700 Ah, we use a _different_ ofcons; rename it macofcons to avoid the
name collision.
1998-07-28 23:43:33 +00:00
thorpej
c8f1cea511 Provide SSIZE_MAX. 1998-07-28 23:20:54 +00:00
thorpej
8a3626d966 ofcons attaches to ofbus, not pci! Comment it out, since we do not have
any ofbus support in these configurations.
1998-07-28 23:09:07 +00:00
thorpej
d0714d3f21 Support NFS_BOOT_DHCP. 1998-07-28 23:02:06 +00:00
augustss
0733d4c87f Do locator related defines using defines from locators.h rather
than literal constants.
1998-07-28 22:01:24 +00:00
thorpej
99b10d9e98 Regen. 1998-07-28 21:51:34 +00:00
thorpej
463fc03c76 Add the IMS TwinTurbo 128M graphics board. 1998-07-28 21:50:30 +00:00
thorpej
37b70b3064 Change the "aresid" argument of vn_rdwr() from an int * to a size_t *,
to match the new uio_resid type.
1998-07-28 21:39:54 +00:00
mycroft
28beaae04f const propagation. 1998-07-28 21:25:35 +00:00
augustss
ae97a4cbf5 Support for USB mice with Z axis or wheel. 1998-07-28 21:21:47 +00:00
thorpej
6dd25080b4 Garbage-collect ofisacs, noted by Scott Reynolds. 1998-07-28 21:19:13 +00:00
mycroft
271fd291d0 const propagation. 1998-07-28 21:16:42 +00:00
augustss
20f454ae1c KNFify. 1998-07-28 20:58:39 +00:00
pk
9111209fdf In _bus_dmamem_map(), use uvm_km_valloc() to get kernel addresses.
uvm_map() -- which used to be here (why was that?) -- was called with
an uninitialized value in its `start' argument.
1998-07-28 20:46:28 +00:00
mjacob
d0aa61ad21 fix to accomodate change in vn_rdwr prototype 1998-07-28 20:37:33 +00:00
mycroft
4794fc63fe Slight adjustment needed for previous. 1998-07-28 20:28:04 +00:00
mycroft
7d3593c1e4 Add -DALL_STATE, to allocate localtime() data structures dynamically. 1998-07-28 20:26:01 +00:00
mjacob
ed8d65b169 fix to accomodate change in vn_rdwr prototype 1998-07-28 20:25:28 +00:00
drochner
5788941588 document "Intelli"mouse support 1998-07-28 20:22:29 +00:00
drochner
0a5abbe31d Reset the mouse in attach(); Bog knows what other drivers did to it
in their probe()s.
Clean up some "pms" vs. "psm" naming confusion.
1998-07-28 20:18:36 +00:00
drochner
fa0aee147e Use the new mkdtemp() instead of mktemp();mkdir().
Various cleanups (and typecasts) to get lint quiet.
Add remaining prototypes, enable -Wmissing-prototypes -Wstrict-prototypes.
1998-07-28 20:10:53 +00:00
mycroft
57ae5a9baa Add links for uid_from_user(3) and gid_from_group(3). 1998-07-28 19:58:25 +00:00
mycroft
af3e07f7d1 __AUDIT__ cleanup. 1998-07-28 19:27:39 +00:00
mycroft
8cedc3e89f Increase the initial hash table size. 1998-07-28 19:27:00 +00:00
mycroft
519d858510 __AUDIT__ cleanup. 1998-07-28 19:22:54 +00:00
thorpej
664737f4b3 Don't try and build non-EGCS libgcc on Alpha and PowerPC. 1998-07-28 18:55:41 +00:00
mycroft
975ed85295 Add a -U option to select by user/uid. 1998-07-28 18:54:02 +00:00