Commit Graph

73227 Commits

Author SHA1 Message Date
charnier
a67f50f015 Reorder #include. Cast arg #2 of lseek to an off_t when constant. No need to
test if failsafe memory allocation fails, it can't. perror -> warn. Use
failsafe memory allocation provided.

Use .Pa and .Ar. Uppercase (first letter) programname after dot.
2002-04-12 13:23:33 +00:00
charnier
2ae20464b1 Make `make WARNS=3' succeed, notably, use %d to printf daddr_t value.
Use `.Nm Ns .' instead of `.Nm .' Add FBSDID. Do not put spaces inside []
in usage string.
2002-04-12 13:16:04 +00:00
charnier
d2aba719d3 Document that only superuser can use -c option. Add FBSDID. Make use of uid_t
to silent lint. fprintf -> err conversion. Add some FALLTHROUGH and NOTREACHED
comment to silent lint.
2002-04-12 13:11:42 +00:00
charnier
eddee89041 Add FBSDID. Do not put spaces inside [] in usage string. Test memory allocation
return code. Correct and update C example in man page. Uppercase program name
(.Nm) after a dot.
2002-04-12 13:08:00 +00:00
ru
2bdf833956 Temporarily unconnect "doscmd" from build until I can fix
its broken Makefile.  The breakage is now fatal after the
bsd.prog.mk,v 1.109 change.
2002-04-12 11:22:44 +00:00
ru
f94502c94d Fixed the fatal breakage I introduced in the last commit.
Make the defined(SRCS) case similar to the !defined(SRCS)
case - only define ${PROG}: ${OBJS} if the ${PROG} target
does not exist.  This has only one precedence in the entire
source tree, usr.bin/doscmd, and its Makefile is horribly
broken.  I will temporarily unconnect it from build until
I'm working on the fix.
2002-04-12 11:21:09 +00:00
ru
f6dc026cb3 Removed the cruft that became cruft after rev. 1.4.
Fixed CLEANFILES.
2002-04-12 11:12:37 +00:00
ru
ef11b271d4 Don't add -lstdc++ to LDADD, just let c++(1) link C++ programs.
Record the dependency on ${LIBSTDCPLUSPLUS} similar to ${LIBC}.

Suggested by:	imp, obrien, peter
2002-04-12 08:17:24 +00:00
dfr
4ad9ee6d64 Initialise ar.cflg, which contains the IA-32 registers cr0 and cr4. Since
all IA-32 processes use the same values for cr0 and cr4, we initialise
them at system startup.
2002-04-12 07:43:35 +00:00
dfr
4c3866790d Print extra information in printtrap() if the interrupted state was for
an IA-32 process. Don't sign extend arguments in ia32_syscall - its not
normally going to be useful (e.g. pointers need to be zero extended).
2002-04-12 07:41:16 +00:00
marcel
3ad64aee88 Fix definition of va_start: We don't need to take the address of
va_list. It's a builtin type. gcc 3.1 doesn't care either way,
but gcc 3.2 is more picky and doesn't like the former.
2002-04-12 06:50:51 +00:00
davidc
a7b85370e3 Add entries for selrecord.9. 2002-04-12 06:19:34 +00:00
imp
32e30a86f9 Forgot to commit this when I committed the rest of the hostap stuff. 2002-04-12 06:19:18 +00:00
davidc
9933dcee22 Add a new man page that documents selrecord and selwakeup.
Thanks to: alfred
2002-04-12 06:19:12 +00:00
imp
7902357826 After committing the forgotten IFM_IEEE80211_HOSTAP stuff to if_media.h,
no need for the ifdefs here anymore.
2002-04-12 06:12:21 +00:00
imp
b47eaa0d1a Add hostap 802.11 media type.
From wi_hostap stuff by Thomas Skibo
2002-04-12 06:10:37 +00:00
davidc
e402b1524f Update the prototype for maybe_resched to take a thread not a ksegrp.
Remove need_resched as it no longer exists.
Cleanup the text for other functions that have changed out from under
their descriptions.

This page needs to be reviewed again after things settle down a bit.

Reviewed by: jhb
2002-04-12 06:03:47 +00:00
imp
73b614cd70 -DWI_HOSTAP no longer needed 2002-04-12 06:01:49 +00:00
imp
7eff0af93f unifdef -DWI_HOSTAP, like OpenBSD does 2002-04-12 06:01:28 +00:00
davidc
861f848704 Add text describing the new type parameter, and rename description
to name as that is what it is called in mutex.h.
2002-04-12 05:55:17 +00:00
alfred
7f437a4ed4 ifdef WI_HOSTAP some stuff that seems like it needs to be ifdef'd. 2002-04-12 05:46:36 +00:00
davidc
81fcf8a41f Add sys/types.h to the list of required includes. 2002-04-12 05:23:16 +00:00
davidc
4ebe7db907 Update the prototype for read_random to reflect that the count parameter
is an int not an unsigned int, and that it returns an int not an unsigned
int.
2002-04-12 05:19:12 +00:00
peter
c4361adf2a Really fix uniprocessor on IA64. Note to self: do not use variables before
they are initialized.   I had correctly figured out that the UP problem was
the pcpu current_pmap thing, but didn't fix it right last time.
2002-04-12 05:17:15 +00:00
davidc
a783cc12f6 Update the prototype for lockinit to reflect that wmesg is a const char *. 2002-04-12 05:16:27 +00:00
davidc
4a064bd33a Fix the prototypes for cpu_critical_exit and cpu_critical_enter and update
the text to reflect the changes.

Update the header files list.
2002-04-12 05:06:38 +00:00
scottl
75c2263931 Document the lock type argument of mtx_init(). 2002-04-12 05:05:19 +00:00
julian
8fd9529d1e Change the script a bit to allow the creation of 'brouted' bridges.
To do this you need to have each top-end connected as well.
IP can be routed and other protocols get bridged..
Also useful when bridgeing two networks while merging them as
machines will work with both old and new netmasks. (well mostly).
2002-04-12 04:44:53 +00:00
davidc
444ec93d92 Document the new size parameter. 2002-04-12 04:26:15 +00:00
davidc
5d7385435e Document the new flags parameter.
Add vget(9) to the SEE ALSO list.
Minor formatting change.
2002-04-12 04:23:22 +00:00
davidc
2d9c1acf77 Update the .Fn line for SX_SYSINIT to include the parameter types. 2002-04-12 03:55:43 +00:00
davidc
8acd6ce788 Update the .Fn line for MTX_SYSINIT to include the parameter types. 2002-04-12 03:54:44 +00:00
imp
ddd8e1f3d8 Replace the original host WEP implementation with the one in OpenBSD
(apparently by markus@, at least committed by him).  This has the
advantage of not using the bad IV's from Fluhrer/Mantin/Shamir as well
as bringing the drivers a little closer together.

Also use a few constants in place of magic numbers in one place.

Obtained from: OpenBSD 1.25, 1.28, 1.36, 1.38, 1.42
2002-04-12 03:42:37 +00:00
hsu
74de2695a0 Fix corner case where m_len was not being initialized.
Submitted by:	Maksim Yevmenkin <myevmenk@digisle.net>
MFC after:	1 week
2002-04-12 00:01:50 +00:00
bmah
5cdcbe90bd Updated release note: OpenPAM Cinchona.
Deleted release note:  NetBSD sort.

MFCs noted:  New ephemeral port range, ISC DHCP client update.
2002-04-11 23:26:22 +00:00
bmah
d141d37d3d New release note: sendmail startup script/options.
Reviewed by:	gshapiro
2002-04-11 23:16:58 +00:00
des
1a399fc73c Cosmetic changes to the previous commit, bringing it closer to what I
already had in my tree but didn't want to commit.
2002-04-11 22:06:27 +00:00
des
0264ee3296 Knowledgeable persons assure me that RSA is preferable to DSA and that we
should transition away from DSA.
2002-04-11 22:04:40 +00:00
imp
114cb3e441 Add ActionTec HWC01170 and Linksys IWN2
Obtained from: OpenBSD
2002-04-11 21:21:14 +00:00
imp
200a76f1a4 Catchup to 1.32 2002-04-11 21:19:04 +00:00
imp
3b03394d5b Add ACTIONTEC HWC01170 from OpenBSD 2002-04-11 21:18:17 +00:00
jhb
7b11cd5cb0 Use the proc lock to protect p_ucred while we read a few items from it. 2002-04-11 21:17:45 +00:00
jhb
e3b656d4d9 Make this compile again when UMASS_DEBUG isn't defined. 2002-04-11 21:09:41 +00:00
jhb
9522d33ac9 - Set the base priority of an ithread that has no handlers when we set its
normal priority.
- Lock sched_lock while we dink with the priorities.
- Remove a few extra blank lines.
2002-04-11 21:03:35 +00:00
jhb
7674fba730 Commented out locking that would be used in the ps command if locks were
used in ddb.
2002-04-11 21:01:34 +00:00
jhb
afc32a4ae3 Use proc lock to protect p_ucred pointer while we deference it to read a
few values.
2002-04-11 21:00:38 +00:00
jhb
b129a4a7ca Use td_ucred in a few spots. 2002-04-11 21:00:05 +00:00
obrien
ae03d60df4 Use PTRACE_ARG3_TYPE of caddr_t.
Obtained from:	gdb 5.2
2002-04-11 20:42:13 +00:00
obrien
42e587fcbd In the cross case we need to provide TARGET_MACHINE. 2002-04-11 18:40:37 +00:00
alc
200626256b Regen 2002-04-11 17:35:53 +00:00