Commit Graph

140637 Commits

Author SHA1 Message Date
jdolecek
5fbad4b597 use killproc() for killing the process due to text file modification, so
that it's logged too

PR: 17392 by Greg A. Woods
2005-10-01 21:09:03 +00:00
jdolecek
05a8b02adf log when traced process is orphaned
PR: 17388 by Greg A. Woods
2005-10-01 21:07:38 +00:00
christos
ae7cb086a0 make this build again after the source move to gnu/dist. 2005-10-01 20:46:43 +00:00
christos
c05266af8a fix setmode error handling. 2005-10-01 20:23:54 +00:00
christos
16547af71a Fix setmode error handling. 2005-10-01 20:22:29 +00:00
christos
037f0a7b03 Now that setmode() is fixed, handle errors with err instead errx. 2005-10-01 20:09:18 +00:00
christos
fbd01002b3 Make sure that setmode sets errno on failure (it used to return a random
errno) and document it.
2005-10-01 20:08:01 +00:00
macallan
d15fb24907 Cleanup, remove some duplicate code, behave better with more than one instance
present.
2005-10-01 19:01:01 +00:00
scw
2cc2cb3389 Note addition of wpa_cli and wpa_supplicant. 2005-10-01 18:53:58 +00:00
scw
3882892ca2 Update for wpa_cli and wpa_supplicant. 2005-10-01 18:51:15 +00:00
scw
c3f88c70e7 Descend into wpa. 2005-10-01 18:50:42 +00:00
scw
d39dbceb8d Add wpa_cli and wpa_supplicant, based on Sam Leffler's work for FreeBSD.
NetBSD can now access a WPA-encrypted wireless LAN.
2005-10-01 18:50:12 +00:00
macallan
c6dfdb40f7 hardware cursor support added. 2005-10-01 17:12:01 +00:00
he
92c0ed8788 The nusers variable is actually a size_t, so print with %zd, not %d. 2005-10-01 13:33:21 +00:00
scw
f238fe91a4 Update for wpa_supplicant-0.3.9 2005-10-01 10:29:32 +00:00
scw
0f8d25cdc3 Support NetBSD. 2005-10-01 10:23:28 +00:00
scw
69e548cab0 Import/ugprade instructions for NetBSD.
Based on Sam Leffler's FreeBSD versions.
2005-10-01 10:22:44 +00:00
scw
f504117151 Import of WPA supplicant 0.3.9 (strippped down as per FreeBSD's version). 2005-10-01 10:20:13 +00:00
scw
61ea4bf0aa Bump libpcap minor number. 2005-10-01 09:56:39 +00:00
scw
795def8d0d Bump minor for pcap_inject() addition. 2005-10-01 09:55:27 +00:00
scw
f552876f7c Add a simplified pcap_inject() from libpcap-0.9.3.
Required for wpa_supplicant and hostapd tools.
2005-10-01 09:55:00 +00:00
yamt
17269a9baf nfsm_srvsattr: use nanotime(9) rather than time(9) for NFSV3SATTRTIME_TOSERVER. 2005-10-01 06:13:55 +00:00
yamt
163be2ac64 change_utimes: use nanotime(9) rather than time(9). 2005-10-01 06:13:42 +00:00
yamt
f615d37667 simplify lwp exit code. 2005-10-01 06:12:44 +00:00
christos
39e9173002 use a counter to prevent from mounting ptyfs twice. Using save_ptm is not
good enough, because if we don't have COMPAT_BSDPTY, then it will stay NULL.
2005-10-01 05:30:12 +00:00
yamt
a13c4821e3 mark runtime obsolete. 2005-10-01 04:11:19 +00:00
yamt
ac3e57ebff we don't have the global runtime anymore. 2005-10-01 04:09:06 +00:00
atatat
fca6393ad4 Add "cwd" and "root" symlinks to each process's directory. The cwd
link points to the process's current working directory, and the root
link points to the process's root directory.  What else would you
expect?

For directories that are out of reach (caller is in a chroot, target
process is in a different chroot, etc), the links point to "/"
instead.
2005-10-01 03:17:37 +00:00
tsutsui
97776d231d - Use mtc0/mfc0 rather than dmtc0/dmtc0 for the PageMask register.
- Tidy up some comments.
2005-10-01 02:05:19 +00:00
macallan
8240aaf01d revert unnecessary geometry changes, add missing {} so turning off the
cursor when leaving emulation mode and getting it back when re-entering really
works now.
2005-10-01 01:10:50 +00:00
wiz
57f7dd924d Sort option descriptions. Use more macros. New sentence, new line.
Add missing .El.
2005-10-01 00:03:47 +00:00
uwe
e97ebbc6c8 Minor KNF police. 2005-09-30 23:16:26 +00:00
cube
774136f54f Note the latest config(1) additions. 2005-09-30 23:05:02 +00:00
cube
7b7c582a4f Introduce two new statements:
no device at <attachment>

     <attachment> can take two forms:  either numbered/wildcarded, in which
     case only exactly matching instances will be removed, or plain (with
     no number or wildcard), in which case all matching instances will be
     removed.

     When <attachment> is a plain interface attribute, all instances using
     that attribute (either directly or through an explicit device) will be
     removed.

     E.g.:
             auich* at pci? dev ? function ?
             audio0 at audiobus?
             audio1 at auich?
             audio* at auich0

             no device at auich0     -> removes audio*
             no device at auich?     -> removes audio1
             no device at auich      -> removes audio1 _and_ audio*
             no device at audiobus?  -> removes audio0
             no device at audiobus   -> removes audio0, audio1 and audio*

  no <device>

     As in the previous case, <device> can either be numbered/starred, in
     which case all exactly matching instances are removed, or plain, in
     which case all instances of the device are removed.

    E.g.: (continuing previous example)

             no audio* -> removes 'audio* at auich0'
             no audio  -> removes all audio instances
2005-09-30 22:51:46 +00:00
cube
c130d400ba Rework the way orphan device instances are handled. To achieve that, keep
track of instances attaching at root, and walk down the tree of active
device instances.  Then, all instances that are not marked active are
found as orphans.

Doing it that way allows us to simply ignore orphan devices, instead of
warning about them and still keep them in the configuration.  Now, orphaned
instances are considered as never having existed.

In the end, this allows 'no <device> at <attachment>' to be much more
efficient, as the user doesn't have to negate all descendents of the
instance s/he actually wants to negate.  Warnings are still emitted,
though.

While there, make official a side-effect of the previous lack of action
against orphaned instances:  config(1) used to warn about instances that
attach at a numbered device when no instance of that device with that
number existed, even though there was a starred instance of the device.

E.g. (provided by Alan Barrett):

    pciide* at pci? dev ? function ? flags 0x0000
    wdc0    at isa? port 0x1f0 irq 14 flags 0x00
    wdc1    at isa? port 0x170 irq 15 flags 0x00
    atabus* at ata?
    wd0     at atabus0 drive 0

With this commit, config(1) will no longer warn about 'wd0 at atabus0'.
2005-09-30 22:36:20 +00:00
macallan
8d7ddb1d4e - turn off the hardware cursor when leaving WSDISPLAYIO_MODE_EMUL
- only lock the hardware cursor when not in WSDISPLAYIO_MODE_EMUL
- allow cursor position between 0 and (screen width + max. cursor width - 1),
  same for height so it can move partially offscreen in all directions
2005-09-30 22:28:19 +00:00
macallan
a07be5404a fix borked MicroSPARC IIep microtime() from previous version. 2005-09-30 22:09:29 +00:00
rpaulo
57f605ecda Add sysexits.3 man page. 2005-09-30 20:57:15 +00:00
rpaulo
35d2bef12a Add a comment asking to update sysexits(3) when adding more entries. 2005-09-30 20:56:19 +00:00
rpaulo
9622c7ed25 Add sysexits.3 2005-09-30 20:55:26 +00:00
rpaulo
13419de87f Add a manual page for <sysexists.h>, from FreeBSD with a minor
adjustments (removed reference to the style(9) man page added NetBSD
to the HISTORY section) by me.
2005-09-30 20:54:58 +00:00
rpaulo
e24e702bdb .An -nosplit 2005-09-30 20:18:12 +00:00
tv
964f98e703 Make slightly more portable without extra conditionals needed:
- Use getpgrp() rather than getpgid(0).
  (getpgrp() is already used elsewhere in this same file.)

- Use waitpid(-1, a, b) rather than wait3(a, b, NULL).
2005-09-30 18:57:55 +00:00
christos
ae3dca21e8 Patches from Liam Foy to:
- Use realloc instead of allocating 1000 structures.
- Remove NUSERS nonsense. If this is kept, shouldn't
  who(1) comply with it too?
- Be consistent with who(1). Add two identical options
  from who(1). These are -q and -H.
- General Cleans:
	- Move globals into local scope
	- Re-write a macro to remove an uneccessary
	  variable.
	- Use UT_NAMESIZE.
	- Remove unecessary header etc.

And from me, KNF, pass lint.
2005-09-30 17:58:24 +00:00
jmmv
38c8dceb4b Explicitly initialize the tn_lockf field. I expect problems in some
situations otherwise...
2005-09-30 14:29:19 +00:00
jmmv
ea3755726f Do not use stdbool.h; it breaks the build on ports using gcc 2.x (such as
vax).  Ew.  Pointed out by he@.
2005-09-30 14:25:07 +00:00
wiz
179b01d905 Fix typo reported by David A. Holland in PR 31422. 2005-09-30 13:46:56 +00:00
simonb
be630e4bf2 Split the fstab examples so that adding newer examples doesn't need a
shuffling of previous examples across line boundaries.
2005-09-30 12:55:13 +00:00
dyoung
3d52cdeb53 In cd9660_mount, initialize imp to VFSTOISOFS(mp) instead of NULL.
Remove redundant assignments to imp.  This fixes the page fault
panic when the kernel mounts an ISO9660 filesystem, introduced at
revision 1.27.
2005-09-30 08:15:46 +00:00
jmmv
3d17d70f0c Add a fstab.tmpfs sample file showing simple but common sample entries.
Suggested by martti@.
2005-09-29 21:06:43 +00:00