Commit Graph

58769 Commits

Author SHA1 Message Date
agc 6dc398cdad Add userinfo and groupinfo 1999-12-24 09:12:55 +00:00
agc 7497747c60 Add new functionality, and fix some bugs and oversights:
+ Moved all internal definitions from usermgmt.h to user.c
+ Added prototypes to usermgmt.h
+ Allow defaults to be set at build time
+ Check the effective uid is 0 if any data is to be modified
+ Check all numeric uids and gids really are numeric
+ Fix a bug (reported by lenb at sasquatch.com) where new ranges were
appended to old ranges, rather than replacing them
+ Add userinfo(8) and groupinfo(8) utilities (if EXTENSIONS is
defined), whereby user and group information can be displayed.  Add
manual pages for new utilities.  Add front-end calling from user(8)
and group(8) accordingly.
+ Make all functions visible outside the user.c file again.  User and
group manipulation may be split out into a separate shared lib in the
future
+ Split off main function into a separate main.c
+ Changed default group to be "users"
+ Changed despatch table for commands to work in a more sane manner
+ Added "default-group" target to Makefile, so that the default group
can be made easily.
1999-12-24 09:08:48 +00:00
msaitoh 1d5d46cad0 round_page(data_segment_size), too 1999-12-24 08:32:58 +00:00
msaitoh 05781b11af back to previous one (suggested by cgd) 1999-12-24 08:29:23 +00:00
itojun 559075a711 make sure we do not pass bogus socket pointer to IPv4 IPsec.
XXX we (KAME) are trying to invent cleaner way to pass socket pointer to
ip{,6}_output... so please permit this mess for now.
1999-12-24 05:01:33 +00:00
augustss 3150a2103c Reverse the sign on the wheel data. I got it wrong from the start. 1999-12-24 01:14:01 +00:00
tron e1e62b88e3 Correct description of "vnd" pseudo device. 1999-12-24 00:15:50 +00:00
leo 384bdc532b Implement the DIOCKLABEL ioctl. Through this ioctl it it possible keep the
disklabel on the last close or to drop it.
1999-12-23 21:23:19 +00:00
augustss aafe48897d Regen. 1999-12-23 19:46:27 +00:00
augustss c1ea7e7feb Add the WebGear Aviator2.4 card. No driver yet, though. :( 1999-12-23 19:45:56 +00:00
matt 711fcf6e2f Add some defensive code to the unsolicited event printing 1999-12-23 18:14:59 +00:00
uch 36380814c1 coding style clean up. 1999-12-23 17:24:30 +00:00
uch 26125dde8a Fix tx39clock_get bug. 1999-12-23 16:58:48 +00:00
uch 0028029538 Add TX39IO_MFIOOUTPORT_OFF option (debugging use) 1999-12-23 16:58:07 +00:00
uch 9481f398a2 Detect overrun interrupt. and add spl. 1999-12-23 16:57:14 +00:00
uch 115925987c Off LCD power when serial console. 1999-12-23 16:56:16 +00:00
pk 2afd4d3aec * remove full duplex modes for the internal transceiver
* internal transceiver needs to be reset for the BMSR_LINK bit to
  be even remotely reliable
* because of previous, maintain link state, so we won't be sensing speed
  all the time when interface flags need to be changed (e.g. entering/exiting
  promiscuous mode)
* in auto-speed mode, report link condition changes on the console
1999-12-23 16:39:56 +00:00
ad 103246974d xcfbreg.h is essentially a copy of ims332reg.h with 3 xcfb specific board
offsets defined. Nuke it.
1999-12-23 16:07:58 +00:00
ad 7cc038239e More variable naming pedantry. 1999-12-23 15:42:06 +00:00
ad 977ce29db3 Rectify the jumbled naming scheme of routines in lk201.c. Function names
are now lower case and prefixed by 'lk_'. XXX lk_mouseinit() is bogus. It
belongs somewhere else.
1999-12-23 15:34:17 +00:00
ad e05b646600 mouseInput() should not be declared here. 1999-12-23 15:27:14 +00:00
tron 68aee765d1 Revert symbol definition check. 1999-12-23 15:23:52 +00:00
windsor 623ede0b32 nit-picking spaces at EOL 1999-12-23 15:07:21 +00:00
abs f22226d64a Fixes from Todd Whitesel 1999-12-23 14:38:10 +00:00
tron ff2d10d6a3 Don't try to include "null.h" while compiling bootblocks. 1999-12-23 14:07:36 +00:00
jdc fc6e7395ab Reorganise. Move CD II specifics to NOTES section. 1999-12-23 12:28:06 +00:00
abs be53038389 Consistency nit - use X11 in all comments not sometimes x11 1999-12-23 12:22:13 +00:00
tsubai 3a04d046b7 Fix typo. 1999-12-23 11:45:32 +00:00
kleink 5937554bad Sync libc minor. 1999-12-23 10:23:34 +00:00
kleink 7c44f1f73e Add <machine/math.h>. 1999-12-23 10:22:59 +00:00
kleink f412aea7dc Add <null.h>. 1999-12-23 10:22:41 +00:00
kleink c28a7d70bf Bump minor. 1999-12-23 10:16:36 +00:00
kleink 11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
augustss a4a97de9ff Make sure the man page describes what ioctl()s apply to what endpoints
correctly.
1999-12-23 09:23:48 +00:00
kleink eff3e8d84e Oops, I didn't mean to remove <sys/inttypes.h> in the previous revision. 1999-12-23 09:10:18 +00:00
tsubai a2928f3d68 Remove 2 more unnecessary debugging codes. 1999-12-23 07:06:44 +00:00
tsubai 9909053174 * Apply updates from Shimizu-san received after the initial commit.
* G/C unused.
* Many cosmetic changes.
* etc...
1999-12-23 06:52:30 +00:00
takemura 98a2a24647 New button handler and power controller with configurable hooking mechanism. 1999-12-23 06:26:08 +00:00
mjl 8515b446a0 Fix null terminating the wrong buffer curtesy of similar variables
mixed up. Seemed to never have any ill effect, but then...
Noted by Tetsuya Furukawa in FreeBSD PR/15604.
1999-12-23 02:10:07 +00:00
tsubai dd30883b03 Comment out -DBOOT_DEBUG. 1999-12-23 01:41:11 +00:00
tsubai 8a56c134db Delete lines that I didn't intended to commit. 1999-12-23 01:40:06 +00:00
mjl 4f10733450 Fix yppasswd part of passwd. This has never worked since the
password map was split and master.passwd.byname was introduced.

XXX This is a temporary fix until luke finds some time to add
the necessary support glue to libc for TRT.
1999-12-23 01:02:52 +00:00
wrstuden ba7b2b4124 Make the bitfields in here work on big-endian machines. How this ever
worked is unclear.

Patch from thorpej, tested by me.
1999-12-23 00:15:12 +00:00
augustss 0e7b1b9ec1 Use the flags `locator' to govern if devices are detected early or
late during cold boot.
1999-12-22 23:54:09 +00:00
augustss d170f8a2ee Correct the statement about O_RDWR. It is allowed now. 1999-12-22 23:21:21 +00:00
augustss c2ca3a16f3 Add a comment about the ifconfig_xxN variables. 1999-12-22 22:55:49 +00:00
simonb 89b100b1a2 Get 2100/3100 model number correct (test was reversed). Bug report and
patch from Scott G. Akmentins-Taylor on port-pmax.
1999-12-22 22:10:07 +00:00
kleink c95251a41e NULL vs. NUL nit in comment. 1999-12-22 21:59:49 +00:00
kleink c07f17e8d9 For the benefit of G++'s null pointer constant implementation, #define NULL
as __null with egcs 1.0 (GCC 2.90) and above.  As several headers are affected
by this change, move the definition into a new header file, <null.h>, to ease
maintenance.
1999-12-22 21:26:15 +00:00
thorpej 7ec3575193 Update for BAT{U,L}() changes. 1999-12-22 18:57:47 +00:00