christos
8bff4369e7
support utmpx; no lastlogx support yet.
2002-08-02 00:10:40 +00:00
fvdl
316b8f10e7
Initialize recm to NULL inside the loop, so that a record length of
...
NULL will not accidentallly append bogus data (the previous record).
Derived from a fix by Matt Dillon in FreeBSD.
2002-08-02 00:09:33 +00:00
christos
7e66d492ee
make this compile with either utmp or utmpx there.
2002-08-01 23:51:42 +00:00
christos
51fb285828
utmpx support
2002-08-01 23:51:20 +00:00
itojun
2f26267778
ifa->ifa_addr is already pointer, no need for "&". from love
2002-08-01 23:47:46 +00:00
nathanw
b18986f532
#include <string.h> for prototypes of strlen and strcpy.
2002-08-01 23:46:37 +00:00
christos
84610072e6
scan utmpx/utmp.
2002-08-01 23:36:54 +00:00
christos
75db63d9a2
- don't hide a global.
2002-08-01 23:36:30 +00:00
christos
eb122f434a
abstract out utmp loading.
2002-08-01 23:23:07 +00:00
simonb
bfc65846f7
Regen for the sysmon device.
2002-08-01 23:20:20 +00:00
simonb
7f7785b33b
Add the sysmon device.
2002-08-01 23:18:07 +00:00
simonb
01aba18e65
Add wdog device.
...
Add kttcp pseudo-device.
Neaten up a little.
2002-08-01 23:17:04 +00:00
simonb
d16ca1844f
Add driver for 405gp (and other 4xx?) watchdog timer.
2002-08-01 23:15:37 +00:00
christos
d6f865b38c
use LOGIN_NAME_MAX not UT_NAMELEN.
...
remove utmp.h
2002-08-01 22:43:34 +00:00
christos
5af793e752
Use LOGIN_NAME_MAX instead of UT_NAMELEN
...
delete include of utmp.h
2002-08-01 22:41:34 +00:00
christos
f016a80baf
don't include utmp.h
2002-08-01 22:39:14 +00:00
christos
1eb5da90ed
don't include utmp.h
2002-08-01 20:05:48 +00:00
thorpej
e3e6d7dfa5
Move the DMA tag initialization functions into i80312.c.
2002-08-01 19:55:02 +00:00
thorpej
f546baba66
Move the DMA tag initialization functions into i80321.c.
2002-08-01 19:40:07 +00:00
christos
f660736fac
It is pointless to limit the login name for utmp's purposes here.
2002-08-01 18:52:06 +00:00
wiz
0f88938132
Remove unneeded utmp.h include.
2002-08-01 18:41:34 +00:00
wiz
104de337ad
Add wtmpx rotation. Okayed by christos.
2002-08-01 17:24:29 +00:00
itojun
43cad3fc3f
use getifaddrs, not SIOCGIFCONF. should fix PR12578
2002-08-01 14:04:50 +00:00
hannken
5868a9832a
Convert to new device buffer queue interface.
...
Approved by: NISHIMURA Takeshi <nsmrtks@netbsd.org>
2002-08-01 12:45:20 +00:00
pooka
203649db47
list network interfaces in ascending order (foo0 .. foon instead of
...
foon .. foo0)
2002-08-01 09:43:16 +00:00
itojun
f34e694103
correct in_cksum2 for odd length case
2002-08-01 09:03:50 +00:00
itojun
80964024a7
kill register variable decls, they are meaningless these days
2002-08-01 09:02:18 +00:00
itojun
f104c36660
u_short cleansing (use u_int16_t where appropriate)
2002-08-01 08:56:59 +00:00
itojun
71a4240254
aenable linux systrace only on platforms that support it.
...
noted by hannken@eis.cs.tu-bs.de
2002-08-01 08:47:03 +00:00
itojun
518af973ec
u_short cleansing (use u_int16_t where appropriate).
...
XXX in_cksum2 does not seem correct in odd length case
2002-08-01 08:41:32 +00:00
itojun
a297f25294
avoid issues with typecast optimization (taking advantage of pointer aliasing),
...
which results in incorrect igmp checksum.
confirmed by taca@netbsd
2002-08-01 08:33:14 +00:00
junyoung
bff41c67e3
Add dreamcast to new platforms list.
2002-08-01 06:26:24 +00:00
itojun
cf0cafaa38
correct range check. from openbsd
2002-08-01 05:22:43 +00:00
itojun
af8ad017f7
typo. From: Arto Selonen <arto@selonen.org>, sync w/kame
2002-08-01 05:17:47 +00:00
itojun
896f6ff227
u_short cleansing (should be u_int16_t)
2002-08-01 03:40:34 +00:00
itojun
eb78c879ca
we shouldn't be shipping it, pim6[sd]d is not part of our base tree
2002-08-01 03:38:01 +00:00
wiz
a1b3869d7e
Unifdef __STDC__, ansify.
2002-08-01 00:17:31 +00:00
hannken
0de052bd51
Convert to new device buffer queue interface.
...
Approved by: Noriyuki Soda <soda@netbsd.org>
2002-07-31 18:48:17 +00:00
thorpej
dce4476374
Overhaul how DMA ranges work in the ARM bus_dma implementation.
...
A new "arm32_dma_range" structure now describes a DMA window, with
a system address base, bus address base, and length. In addition to
providing info about which memory regions are legal for DMA, the new
structure provides address translation support, as well.
As before, if a tag does not list any ranges, then all addresses are
considered valid, and no DMA address translation is performed.
This allows us to remove a large chunk of code which was duplicated and
tweaked slightly (to do the address translation) from the stock ARM
bus_dma in the XScale IOP and ARM Integrator ports.
Test compiled on all ARM platforms, test booted on Intel IQ80321 and Shark.
2002-07-31 17:34:23 +00:00
matt
643ea53c65
Use 11 for the USER_SR since we use BAT 12 for PCI MEM space.
2002-07-31 16:23:37 +00:00
christos
8fece071ac
don't try to chmod if fchmod fails when restoring the original tty modes.
...
It could cause a symlink race. Just report the fchmod failure. Reported
by itojun, found in FreeBSD.
2002-07-31 14:59:10 +00:00
simonb
f674045491
Update after changing etc/etc.sbmips/MAKEDEV before the wizbot attacks.
2002-07-31 14:52:49 +00:00
bouyer
27b46820fc
As discussed on tech-userlevel on Jun, 10 2002, make changes to not use
...
getpwnam() to get the user's passwd entry but read it from the passwd file
yppasswdd will later update. This allows a NetBSD machine to be master NIS
server without requiring the NIS accounts to exist (via /etc/master.passwd,
nis or other ways) on the local machine.
2002-07-31 14:41:56 +00:00
jdolecek
06a4a82134
restore the previous form of the condition checking malloc() return value, which
...
was changed in previous revision
2002-07-31 12:57:36 +00:00
grant
c8c81b4a57
nullify ftp passwd whenever user is changed, not only when user is
...
changed to 'ftp'.
2002-07-31 12:44:14 +00:00
bouyer
8d3ed14056
Regen: remove duplicate entry for 82801DB_LPC.
2002-07-31 11:16:49 +00:00
bouyer
176bb1fe72
Ops, remove duplicate entry for 82801DB_LPC, pointed out by geoff wing.
2002-07-31 11:16:17 +00:00
isaki
733ad2d0f4
Fix compile warnings in debug code.
2002-07-31 11:01:26 +00:00
itojun
891518d386
allow calloc(0, x) and calloc(x, 0). sync w/openbsd
2002-07-31 09:26:49 +00:00
itojun
d103e0b575
plug memory leak. from ebisawa@iij. sync w/kame
2002-07-31 07:01:26 +00:00