Philippe Charnier
7151087354
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
Philippe Charnier
20c58ba5f7
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
Philippe Charnier
4b952f84cb
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
Ruslan Ermilov
f5a331218f
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
Ruslan Ermilov
d8d5898fff
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
Ruslan Ermilov
df422a1217
Removed the cruft that became cruft after rev. 1.4.
...
Fixed CLEANFILES.
2002-04-12 11:12:37 +00:00
Ruslan Ermilov
f8ba15551d
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
Doug Rabson
722ff934ee
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
Doug Rabson
c85c7b5ff6
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 Moolenaar
9ca98629d7
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
Chad David
468f8a27bb
Add entries for selrecord.9.
2002-04-12 06:19:34 +00:00
Warner Losh
41544fe68c
Forgot to commit this when I committed the rest of the hostap stuff.
2002-04-12 06:19:18 +00:00
Chad David
307ce5fea9
Add a new man page that documents selrecord and selwakeup.
...
Thanks to: alfred
2002-04-12 06:19:12 +00:00
Warner Losh
fafbd94d8d
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
Warner Losh
73ce5fac0e
Add hostap 802.11 media type.
...
From wi_hostap stuff by Thomas Skibo
2002-04-12 06:10:37 +00:00
Chad David
4edac09c3e
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
Warner Losh
64fa2b20c6
-DWI_HOSTAP no longer needed
2002-04-12 06:01:49 +00:00
Warner Losh
b0152b2e40
unifdef -DWI_HOSTAP, like OpenBSD does
2002-04-12 06:01:28 +00:00
Chad David
57cf955171
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 Perlstein
7344c0a194
ifdef WI_HOSTAP some stuff that seems like it needs to be ifdef'd.
2002-04-12 05:46:36 +00:00
Chad David
e6f97cc401
Add sys/types.h to the list of required includes.
2002-04-12 05:23:16 +00:00
Chad David
234b7100a1
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 Wemm
a8f559e910
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
Chad David
c4a7ba6e34
Update the prototype for lockinit to reflect that wmesg is a const char *.
2002-04-12 05:16:27 +00:00
Chad David
f972f99474
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
Scott Long
6a00ed1536
Document the lock type argument of mtx_init().
2002-04-12 05:05:19 +00:00
Julian Elischer
44f9a04673
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
Chad David
94552cece2
Document the new size parameter.
2002-04-12 04:26:15 +00:00
Chad David
ac05f75438
Document the new flags parameter.
...
Add vget(9) to the SEE ALSO list.
Minor formatting change.
2002-04-12 04:23:22 +00:00
Chad David
55d04e913a
Update the .Fn line for SX_SYSINIT to include the parameter types.
2002-04-12 03:55:43 +00:00
Chad David
37bc3d021d
Update the .Fn line for MTX_SYSINIT to include the parameter types.
2002-04-12 03:54:44 +00:00
Warner Losh
e122b676e6
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
Jeffrey Hsu
4037698769
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
Bruce A. Mah
366c509056
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
Bruce A. Mah
ecfc370f50
New release note: sendmail startup script/options.
...
Reviewed by: gshapiro
2002-04-11 23:16:58 +00:00
Dag-Erling Smørgrav
cec161f9e1
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
Dag-Erling Smørgrav
8f8855cff0
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
Warner Losh
f90d35eca1
Add ActionTec HWC01170 and Linksys IWN2
...
Obtained from: OpenBSD
2002-04-11 21:21:14 +00:00
Warner Losh
0d2a385fa9
Catchup to 1.32
2002-04-11 21:19:04 +00:00
Warner Losh
7afbcf5ed0
Add ACTIONTEC HWC01170 from OpenBSD
2002-04-11 21:18:17 +00:00
John Baldwin
59cfd37dd4
Use the proc lock to protect p_ucred while we read a few items from it.
2002-04-11 21:17:45 +00:00
John Baldwin
3aa68913bc
Make this compile again when UMASS_DEBUG isn't defined.
2002-04-11 21:09:41 +00:00
John Baldwin
b106d2f56a
- 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
John Baldwin
5a882ddd66
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
John Baldwin
8e4357a4cb
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
John Baldwin
0af24d5151
Use td_ucred in a few spots.
2002-04-11 21:00:05 +00:00
David E. O'Brien
596d4501ed
Use PTRACE_ARG3_TYPE of caddr_t.
...
Obtained from: gdb 5.2
2002-04-11 20:42:13 +00:00
David E. O'Brien
8089148b52
In the cross case we need to provide TARGET_MACHINE.
2002-04-11 18:40:37 +00:00
Alan Cox
ab9ab5702e
Regen
2002-04-11 17:35:53 +00:00
Alan Cox
a0805f6f7a
Remove the requirement that Giant be held around osigreturn(). All platform-
...
specific implementations are MPSAFE.
2002-04-11 17:34:38 +00:00