sekiya
f87a5a5324
Add getopt.c
2003-11-11 06:28:15 +00:00
christos
6dc8df292b
KASSERT was not the right thing here. Instead only set the type if f_type
...
has been inititialized. Reported by pooka
2003-11-11 00:44:16 +00:00
matt
8c60671ca9
Add thread support.
2003-11-10 21:59:58 +00:00
matt
0ef98a7702
Make version 5.3nb1
2003-11-10 21:49:14 +00:00
matt
e2bf0dc236
Enable nbsd-thread.
...
Make version 5.3nb1.
2003-11-10 21:48:48 +00:00
ross
3d7196f4d4
Simplify set(). No functional change.
2003-11-10 21:40:22 +00:00
ross
714ccc9c51
Refix last delta's string copying edits
2003-11-10 21:37:36 +00:00
jonathan
b86d07f435
Allocate sysctl oid for ipv4 sysctl node "ifq", define symbolic name, and
...
bump IPCTL_MAXID. (Should have been committed with other ifq sysctl changes).
2003-11-10 20:50:29 +00:00
jonathan
88ba77e705
Make per-protocol network input queue stats visible to userland via
...
sysctl. Add a protocol-independent sysctl handler to show the per-protocol
"struct ifq' statistics. Add IP(v4) specific call to the handler.
Other protocols can show their per-protocol input statistics by
allocating a sysclt node and calling sysctl_ifq() with their own struct ifq *.
As posted to tech-kern plus improvements/cleanup suggested by Andrew Brown.
2003-11-10 20:03:29 +00:00
augustss
aca1d6163a
Add boot(8) for pmppc.
2003-11-10 18:49:14 +00:00
augustss
d030d913db
Add boot(8) man page for pmppc.
2003-11-10 18:45:58 +00:00
dsl
c934ce564a
Fix continuation line handling.
2003-11-10 18:43:15 +00:00
augustss
764e974d4e
Mention the com ports.
2003-11-10 18:28:45 +00:00
dsl
e6dd2bf0d9
Use modified mkdep(1) (not cat) to merge '*.d' into '.depend'.
...
Allows some of the postprocessing to be done there instead of a separate
sed script called from 'afterdepend'.
2003-11-10 18:21:55 +00:00
dsl
198a6cd602
Make this support the same new options as recently added to the mkdep program.
2003-11-10 17:57:43 +00:00
dsl
cffe183eef
Add the following options with a view to using 'cc -MD' to automatically
...
create dependency files:
-d process xxx.d files to generate .depend (don't run ${CC})
-o add .OPTIONAL: <headers> to output file
-q don't print warnins for missing files (with -d)
-s suf list of suffixes to replace ".o"
The -s suf should allow all the 'afterdepend' stuff to be killed.
(christos thought this might be a good idea...)
2003-11-10 17:56:38 +00:00
rearnsha
31a79ddeb0
In vm_phsyseg_find, use u_int for start, len and try when doing a
...
binary search. Avoids the need for signed division by 2. Approved
by thorpej.
2003-11-10 16:13:05 +00:00
thorpej
9a0c12a504
Correct the size passed to a malloc() call when performing command
...
passthrough for userland management tools.
2003-11-10 15:35:39 +00:00
drochner
bc80d3e635
Reading the (non-MII) media status if the card is not running yields
...
"0xffff" (eg on i386) or a machine check (on alpha).
So don't read the status if !(UP&RUNNING).
2003-11-10 12:30:27 +00:00
wiz
87ca9fd3a6
gdb-6.0 out. Mention that some platforms already use 5.3.
2003-11-10 12:08:21 +00:00
itojun
f5c2aa04b0
splsoftnet() on spd/sad-dump-via-sysctl to ensure no 2 threads to go into
...
the function, or entries being removed during the dump operation.
suenaga@iij
2003-11-10 10:52:13 +00:00
dsl
c948aa4152
Ensure we use the target disklabel.h, not the host one.
...
Read the disklabel directly from sector 2 instead of using DIOCGDINFO.
Expect the label to be big-endian.
Support -o append for real files.
2003-11-10 10:48:30 +00:00
fvdl
fe6b4c315f
Bring back disklabel -B for now, since hp300 installboot isn't ready
...
for prime time yet.
2003-11-10 09:22:09 +00:00
fvdl
8452757ae8
Comment out hp300 references.
2003-11-10 09:19:03 +00:00
fvdl
b770006d3b
Disable the hp300 for now.
2003-11-10 09:14:58 +00:00
wiz
c2f9db9c64
Update URLs; from Jared Yanovich via jmc@openbsd.
2003-11-10 09:02:08 +00:00
wiz
864bb22441
Update URL; from Jared Yanovich via jmc@openbsd.
2003-11-10 08:58:39 +00:00
wiz
34eb26eec2
Update URL; s/Linix/Linux/. From Jared Yanovich, forwarded by jmc@openbsd.
2003-11-10 08:55:41 +00:00
wiz
ee1b406595
Spell address with two d's. Inspired by similar changes in OpenBSD,
...
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
martin
d708163f7f
All the ucontext <-> {fp}reg macros were slightly simplistic and untested
...
before (old gdb support on sparc did not use this).
Pointed out by Christian Limpach.
2003-11-10 07:52:52 +00:00
lukem
f27dcca7c9
fix previous so that it actually works
2003-11-10 02:35:24 +00:00
fvdl
0a3fa4cdb1
Trim ramdisk and remove some unneeded options.
2003-11-10 00:52:28 +00:00
fvdl
022ebc0010
Trim the ramdisk.
2003-11-10 00:43:20 +00:00
lukem
ed9fb819aa
When calculating the number of disks, take into account that every
...
floppy needs an 8KB tar volume header, not just the first.
Fixes size calculation bug reported by Frank van der Linden.
2003-11-09 23:44:48 +00:00
scw
62816f9d48
Ditch some obsolete toolchain definitions and flags.
2003-11-09 23:30:39 +00:00
manu
7c1e8e9716
There is some padding on the reply packet of vm_make_memory_entry too.
2003-11-09 23:17:15 +00:00
manu
ffe118644c
Added missing padding fields in vm_make_memory_entry request packet.
2003-11-09 23:07:05 +00:00
manu
d7d1474c7a
Typo
2003-11-09 23:05:29 +00:00
uwe
79ddf479da
Add adc, j6x0pwr, j6x0tp.
2003-11-09 22:36:17 +00:00
christos
2cd9243922
- kill bzero/bcopy
...
- defopt stats and settings, removing their definitions from the files
- make code compile by eliminating multicharacter constants!?! and rearranging
variable declarations so they are defined before used!?!
- help gcc with uninitialized variables
2003-11-09 22:11:12 +00:00
uwe
19d60bc09e
Compile identity ntoh*/hton* only for big endian case.
2003-11-09 22:04:00 +00:00
petrov
8ab0c67f4e
Lower PIL_AUD so /dev/audio will not interrupt and interfere with
...
scheduler. Fixes kern/23382.
2003-11-09 21:52:31 +00:00
scw
f64ae6c776
s/NULL/0/
2003-11-09 21:39:48 +00:00
scw
4c4ac42348
More format string fallout.
2003-11-09 21:37:08 +00:00
wiz
3df7a01f61
Ar -I -> Fl I; bump date for previous.
2003-11-09 21:24:15 +00:00
hubertf
007e11ede2
Document the special server name "*SMBSERVER"
2003-11-09 21:19:31 +00:00
scw
eb042dabb2
Fix format string lossage.
2003-11-09 21:12:08 +00:00
pk
72c519a615
__cpu_simple_unlock: avoid instruction re-ordering by the compiler.
2003-11-09 21:04:44 +00:00
scw
c55851c88b
Fix format string warnings for platforms where
...
sizeof(db_addr_t) > sizeof(long). e.g. ILP32 on sh5.
2003-11-09 20:52:18 +00:00
christos
38b1c6f405
Add:
...
int pthread_attr_setcreatesuspend_np(pthread_attr_t *);
int pthread_suspend_np(pthread_t);
int pthread_resume_np(pthread_t);
needed for java. Approved and fixed by cl.
2003-11-09 18:56:48 +00:00