christos
2992e723d5
Sync flags.
2005-06-23 01:59:31 +00:00
fvdl
a33a5a18b5
If HOSTPROG is empty, do not pull in libutil, since we do not need it in that
...
case, and several host platforms do not have libutil. Fixes the build of
these programs as host tools on platforms without libutil.
2005-06-23 00:54:47 +00:00
fvdl
b14624e508
Pull in DIP_ADD from sys/ufs/ufs/inode.h and use it, to prevent bad lvalue
...
assignment warnings/errors from gcc4.
2005-06-23 00:53:16 +00:00
thorpej
65412a2710
Implement expansion of special "magic" strings in symlinks into
...
system-specific values. Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.
This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag. It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.
The following magic strings are supported by the implementation:
@machine value of MACHINE for the system
@machine_arch value of MACHINE_ARCH for the system
@hostname the system host name, as set with sethostname()
@domainname the system domain name, as set with setdomainname()
@kernel_ident the kernel config file name
@osrelease the releaes number of the OS
@ostype the name of the OS (always "NetBSD" for NetBSD)
Example usage:
mkdir /arch/i386/bin
mkdir /arch/sparc/bin
ln -s /arch/@machine_arch/bin /bin
2005-06-23 00:30:28 +00:00
christos
306d33d145
Don't wait for a background job in a subshell when we are set to EV_EXIT.
...
While I am here, call forkshell() explicitly FORK_FOO flags instead of
depending in FORK_FG == 0 and FORK_BG == 1.
2005-06-22 23:32:45 +00:00
sekiya
090f77819b
Oops, a unilateral DEBUG define crept in with my last commit.
2005-06-22 22:57:17 +00:00
martin
adc4b94498
Remove unused <atomic.h> include; add <sys/device.h> includes where
...
needed.
2005-06-22 22:07:48 +00:00
manu
c8b33aa328
report the right process status
2005-06-22 21:57:30 +00:00
elad
6e7c7658ef
Fix logic in verbose printing.
2005-06-22 21:50:27 +00:00
he
0ec45ddeab
Fix the toolification of disklabel by using the nbinclude namespace
...
under HAVE_NBTOOL_CONFIG_H for disktab.h as well. This means
disktab.h has to be installed in the nbinclude include directory.
(Failure mode: with TOOLDIR as a subdirectory of /usr, the host's disktab.h
got picked up, and not the in-tree copy.)
Reviewed by dyoung.
2005-06-22 21:35:28 +00:00
manu
dd3259cec0
NAT-T fix: We treat null ports in SPD as wildcard so that IKE ports
...
are used instead. This was done on phase 2 initiation from the kernel
(acquire message), but not on phase 2 initiation retries when the
phase 2 had been queued for a phase 1.
2005-06-22 21:28:18 +00:00
dyoung
c3455f1205
De-__P().
...
Consistently pass 'int *' arguments to parsebootfile.
2005-06-22 20:42:45 +00:00
dyoung
8748cff236
Cosmetic: join line.
2005-06-22 20:40:59 +00:00
junyoung
f54b3f436a
Fix build breakage. Oops.
2005-06-22 20:36:17 +00:00
manu
5e803980cd
Fix siginfo to return the right child's status.
2005-06-22 20:20:30 +00:00
hubertf
e5a0b604a9
* Change program logic to not nest needlessly
...
* Search all acronyms databases, and don't force the user to
know in which category to look (-t is gone)
* If an acronym is not found in the database or by whatis(1),
also check pkg_info(1). Per PR bin/30539 by Geert Hendrickx
(geert.hendrickx@ua.ac.be )
OK'd by Julio M. Merino Vidal <jmmv>
2005-06-22 20:11:03 +00:00
christos
07c1b4dc67
If the string to be printed is NULL substitute "(null)". Approved by core.
...
This is a workaround to make gcc's behavior consistent, since gcc can
transform:
printf("%s\n", s) -> puts(s)
fprintf(fp, "%s", s) -> fputs(s, fp)
as an optimization.
I've left the _DIAGASSERT's that make sure that s != NULL alone because we
should really still abort in a debugging environment.
2005-06-22 19:45:22 +00:00
sekiya
e45d20fa18
Remove unnecessary #includes.
2005-06-22 19:17:35 +00:00
junyoung
6a5baa993c
ANSIfy and de-__P.
2005-06-22 17:34:30 +00:00
taca
fbf091a5b6
Postfix 2.2.4 released.
2005-06-22 16:51:41 +00:00
junyoung
600b956be0
Remove trailing spaces.
2005-06-22 16:35:58 +00:00
junyoung
bacc083333
Do not mix assembly-style comments and C-style comments.
2005-06-22 15:29:48 +00:00
manu
6593739f61
Implent CLONE_PARENT_SETTID, CLONE_CHILD_CLEARTID, and CLONE_CHILD_SETTID
...
options to clone(). This makes fork() work on amd64.
clone() prototype has changed and the changes is probably revelant on some
other arches.
2005-06-22 15:10:51 +00:00
junyoung
1341f2c732
Fix build breakage.
2005-06-22 15:06:19 +00:00
wiz
08ff3e7e12
Remove duplicate apci at mainbus line, from Nicolas Joly in PR 30564.
2005-06-22 14:10:34 +00:00
christos
8fa006901b
Deal with nic.de stupidity. Idea from OpenBSD, but simplified.
2005-06-22 12:17:56 +00:00
peter
26b3362b67
Missing m_freem() in bpf_write. PR/29138.
2005-06-22 10:36:16 +00:00
dyoung
9063402978
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
...
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
2005-06-22 06:14:51 +00:00
junyoung
753f88cef9
Use get_harddrives().
2005-06-22 06:09:47 +00:00
junyoung
c53f251ee6
Add support for cd9660 file system to the i386 BIOS bootloader.
2005-06-22 06:06:34 +00:00
junyoung
e7cb351275
Cosmetic changes.
2005-06-22 05:30:13 +00:00
kent
4239255ec0
correct synopsis: "audio* at audiobus?", not "audio* at devicename?"
...
bump date
2005-06-22 04:30:08 +00:00
kent
ea2fd937b5
- cross-reference from/to ac97(4)
...
- correct synopsis: "audio* at audiobus?" instead of "audio* at devicename?"
bump date
2005-06-22 04:19:09 +00:00
atatat
fc1ed39348
Also fix (wrt the new const stuff) the one user of sysctl_locate()
...
outside of the main sysctl code.
2005-06-22 03:13:34 +00:00
enami
230b1ca68c
Backout part of previous since it breaks kernel build and not described
...
in the commit log. I don't see merged log of ath(4) yet.
2005-06-22 01:51:03 +00:00
sekiya
a3df0e92f9
It turns out that pci_addr_fixup() doesn't require PCIBIOS either. Decouple,
...
run it from mainbus_attach().
2005-06-22 00:58:48 +00:00
lha
3baf9430ad
Remove static local variable so its easier to correctly use strlcpy.
2005-06-21 22:29:53 +00:00
dyoung
d1f006118e
Import FreeBSD's ath(4) of 2005-05-18
2005-06-21 20:37:47 +00:00
dyoung
3cdc4fcd5f
Import FreeBSD's net80211(9) of 2005-05-18
2005-06-21 20:37:38 +00:00
christos
098f26dce7
Document that passing NULL to %s prints "(null)".
2005-06-21 18:43:17 +00:00
junyoung
d2c188d7c7
Cosmetic changes.
2005-06-21 18:34:47 +00:00
junyoung
59c7a166e2
If any of libraries needed by the "boot" is rebuilt vers.c should be
...
regenerated so that the build date is updated accordingly.
2005-06-21 18:25:14 +00:00
junyoung
321d917810
ANSI, KNF, trailing spaces, and etc.
2005-06-21 18:16:59 +00:00
wiz
1129c8c029
Add ac97(4) man page from OpenBSD, written by Constantine Sapuntzakis.
...
Suggested by kent@.
2005-06-21 18:11:38 +00:00
kent
c782306795
add azalia(4) man page
2005-06-21 17:37:06 +00:00
kent
ad8ef76d8d
support for recording
2005-06-21 14:51:37 +00:00
junyoung
38e1b7dac2
Remove trailing spaces.
2005-06-21 14:48:47 +00:00
junyoung
0b6edcdedb
- It is worthless to endlessly try to boot unbootable images. If all predefined
...
boot images are failed to boot, fall into the prompt.
- Fix a garbage in previous commit.
2005-06-21 14:20:35 +00:00
junyoung
8ea8555169
More cosmetic changes.
2005-06-21 14:16:27 +00:00
junyoung
6b49899231
- KNF & cosmetic changes
...
- Remove #if 0'ed netbsd.el{,.gz} from bootfile list. I have no idea what
those files are (emacs lisp source??? :-).
2005-06-21 14:13:40 +00:00