Commit Graph

130654 Commits

Author SHA1 Message Date
wiz
bf626dd212 Sync usage with man page. 2004-09-13 23:44:19 +00:00
wiz
f70e00b3b6 -s, not -c; add arguments to options; sort options in SYNOPSIS; indent flag descriptions. 2004-09-13 23:44:04 +00:00
thorpej
9fe30f8ca4 Note uuid(3) and uuidgen(1). 2004-09-13 23:38:26 +00:00
thorpej
60fd0955b1 Un-comment-out Xr to uuidgen(1). 2004-09-13 23:36:25 +00:00
thorpej
1209149ad2 Add the uuidgen(1) command, adapted from FreeBSD. While here, also add
a DCE-compatible -s flag, which causes uuidgen(1) to output C code for
the UUIDs rather than the standard string representation.

PR 23470.
2004-09-13 23:35:19 +00:00
thorpej
523777c603 Add HISTORY section. 2004-09-13 23:24:15 +00:00
wiz
a1c60f9187 New sentence, new line. -1 needs a backslash. Fix a typo.
Fix an article. Comment out Xr to uuidgen(1), since we do not have that.
2004-09-13 22:52:39 +00:00
fvdl
a26f018446 Revert previous; INSTALL should be small enough again. 2004-09-13 22:35:05 +00:00
fvdl
2a1aa1e67d Remove some devices (sync with i386). 2004-09-13 22:33:47 +00:00
thorpej
de1dfb1250 DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.
Encode/decode to big/little endian binary blob routines adapted from
kernel.

PR 23470.
2004-09-13 21:44:54 +00:00
jdolecek
f16bab2269 bsd_to_linux_statfs():
- filesystem size is expressed in number of fragments, not blocks;
  this fixes computed filesystem sizes for Linux df(1) and other Linux
  binaries using statfs(2) for filesystems, which use different value
  for frament and block, such as FFS
- use FS f_namemax instead of always using MAXNAMLEN
2004-09-13 20:09:44 +00:00
jdolecek
a6894024dd dostatvfs(): zero the statvfs structure before calling filesystem code, so that
unset parts would have defined value and not pass random parts of kernel stack
2004-09-13 20:02:20 +00:00
jdolecek
c407d0a5ca copy_statvfs_info(): copy f_namemax too 2004-09-13 19:45:21 +00:00
jdolecek
caffd8ef28 set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use
the value for also pathconf(_PC_NAME_MAX) to keep the two in sync
2004-09-13 19:25:48 +00:00
jdolecek
2993272a0c set mp->mnt_stat.f_namemax on filesystem mount, for use by statvfs 2004-09-13 19:19:44 +00:00
drochner
df80bed99c put EISA attachment specific code inside "#if NPCEB > 0",
to avoid references to EISA variables if "pceb" is not defined in
kernel configurations, and save some bytes
tested by Havard Eidnes (or his colleague:-)
2004-09-13 18:42:59 +00:00
drochner
11ff62378b add "joy" 2004-09-13 17:26:28 +00:00
drochner
103deb3575 use config_found() instead of config_found_sm() if no submatch
function is used
2004-09-13 15:14:12 +00:00
drochner
a02e2488a0 autoconf cleanup: turn xxxsubmatch() functions into the locator
passing variants
2004-09-13 14:57:31 +00:00
drochner
a48272e3d0 pass locators to tlsbsubmatch()
XXX the "offset" locator is unused appearently, assume that "0"
is a sensible value
2004-09-13 14:48:46 +00:00
drochner
cb1ceb0bce remove "pcibus" and "isabus" from "mainbus" -- neither of them
attaches directly
cleanup a comment
2004-09-13 14:38:37 +00:00
drochner
b1ce7363e0 clean up the questionable use of sabtty_match() as submatch function
(with no useful contents), and implement a real submatch function instead
2004-09-13 14:32:38 +00:00
drochner
6c73a9561e nothing attaches to a "sabtty", so there is no need for an
interface attribute
2004-09-13 14:29:38 +00:00
drochner
2578f8fc3c remove unused variable 2004-09-13 14:08:39 +00:00
drochner
96b589fc18 a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
 config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
 on "locators.h"
2004-09-13 12:55:47 +00:00
drochner
d758c65552 remove the ppbus_print_child() function which is pointless as used here 2004-09-13 12:49:58 +00:00
drochner
8fd40ab43d "gtpci" doesn't provide an ISA bus, so it shouldn't have an "isabus"
attribute
2004-09-13 12:36:18 +00:00
drochner
b04ad75025 use locator passing versions of xxxsubmatch() and simplify the code by
using arithmetics instead of case statements
2004-09-13 12:34:00 +00:00
drochner
a987cab220 remove macros which just hide cfdata internals
(and are used at one place only)
2004-09-13 12:22:52 +00:00
tron
428bbd1acc Const-ify last change properly. 2004-09-13 10:52:34 +00:00
tron
c4bb165efd Add a few extra type casts to make C++ happy. This fixes build problems
in e.g. "libsupc++".
2004-09-13 10:33:43 +00:00
chs
cbc396ce30 work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.
2004-09-13 09:39:40 +00:00
chs
c2e0ac407b increase floppy limit to 3, the 2.0-branch autobuild overflows 2. 2004-09-13 08:32:19 +00:00
thorpej
a30ebb7365 Avoid warnings about conversions from "unsigned long long" to "unsigned int"
and from "unsigned int" to "unsigned long long".
2004-09-13 01:46:39 +00:00
thorpej
10b55261a1 To quote C99 6.3.1.1:
If an int can represent all values of the original type, the value is
converted to an int; otherwise, it is converted to an unsigned int. These
are called the integer promotions. 48) All other types are unchanged by
the integer promotions.


So, cast an "unsigned short" to an "unsigned int" before right-shifting it
in order to avoid a lint warning.
2004-09-13 01:24:46 +00:00
thorpej
77f08a265c Move the 16/32-bit encode/decode to/from octet stream routines from
kern_uuid.c to sys/endian.h (where FreeBSD has them), and add 64-bit
variants.
2004-09-12 23:17:37 +00:00
thorpej
e7b13cc120 Correct a comment. 2004-09-12 22:52:58 +00:00
dsl
64cdb08d62 Run the new copy of /etc/postinstall, not the one that happens to be on the
users system already.
Amongst other things this should ensure that MAKEDEV get updated.
(currently untested...)
2004-09-12 19:12:45 +00:00
he
b119cd7a61 Enclose initialization of NCR_VARIANT_NCR53C400 in an ifdef on
NCR5380_USE_BUS_SPACE, to make this build again on acorn32, mac68k,
pc532, and sun3.  This is done under the assumption that it's
somewhat doubtful that any of those machines will encounter that
chip variant.

The acorn32 and mac68k parent drivers (csa and sbc) are listed in
ncr5380var.h as "easy to convert", but it's evident that noone have
stepped up to that challenge yet.  Sun3 and pc532 needs bus.h first,
which they apparently don't have at the moment.
2004-09-12 18:05:46 +00:00
jdolecek
9cc50db4c5 if passed sockaddr has family AF_UNSPEC, use socket family of the socket
the sockaddr is used for

this fixes bind() problem in Linux version of Theocracy, testing
by Thomas Klausner
2004-09-12 15:32:55 +00:00
wiz
4d38f47519 Correct macro usage. 2004-09-12 13:12:26 +00:00
wiz
6d8640263f Replace "<>&" with "\*[Lt]\*[Gt]\*[Am]". 2004-09-12 13:06:14 +00:00
wiz
cd95d7a583 Fix typo. 2004-09-12 13:03:06 +00:00
jdolecek
8c73815634 remove the commented COMPAT_AOUT - it's not present in the other
kernel configs neither
2004-09-12 12:49:22 +00:00
jdolecek
ca7fc04a65 use 'have_toupper' variable for awk toupper() function existence test, rather
than 'isgawk' - e.g. nawk has toupper() too
2004-09-12 11:24:15 +00:00
jdolecek
f7ec3be35d use native syscallnames[] for SYSCALL_DEBUG 2004-09-12 11:09:32 +00:00
jdolecek
0e3af04f6a use native syscallnames[] array for 'aout' and 'aoutm68k' "emulations" - it's
only used for syscall name <-> number translations, and the native array
is guaranteed to be superset of the former 'aout' and 'aoutm68k' arrays

this re-adds 'aoutm68k' support, and replaces change made in 1.14

g/c #include's which are no longer needed (including aout_syscalls.c), and
also add some comments for the emulations[] array
2004-09-12 11:05:43 +00:00
jdolecek
f83c14f534 only include emulation syscallnames with SYSCALL_DEBUG, it's not used otherwise 2004-09-12 10:38:25 +00:00
jdolecek
c2ce3ec2d5 constify 2004-09-12 09:25:59 +00:00
yamt
2e1baea952 recognize _Bool. 2004-09-12 08:58:52 +00:00