Commit Graph

137882 Commits

Author SHA1 Message Date
rpaulo f0f2f92389 PR standards/17732: make doesn't honour escaped comment lines. Now with
a real fix.
Ok'ed by sjg and hubertf.
2005-06-18 14:32:04 +00:00
kent 77ab74c241 correct some position names. 2005-06-18 11:22:12 +00:00
lukem 365a6c8313 Convert from tmpnam()/open() -> snprintf()/mkstemp(); the latter
avoids a linker warning about the use of tmpnam().
2005-06-18 11:07:26 +00:00
lukem d249206e30 use "tempnam" instead of "tmpname" 2005-06-18 10:50:25 +00:00
kent e8e1a2ca9a An audio driver for High Definition Audio.
The driver is highly experimental at this moment:
 - limieted support for playback
 - support for no mixer controls
 - support for no recording
2005-06-18 10:43:47 +00:00
kent ab125bd85d A driver for High Definition Audio.
The driver is highly experimental at this moment:
 - limited support for playback
 - no support for mixer controls
 - no support for recording
2005-06-18 10:43:46 +00:00
lukem 335e2ccf58 add scan_ffs and veriexecctl to /rescue 2005-06-18 06:59:23 +00:00
thorpej 9616fa6458 Fix some locking issues:
- Make the locking rules for pr_rmpage() sane, and don't modify fields
  protected by the pool lock without actually holding it.
- Always defer freeing the pool page to the back-end allocator, to avoid
  invoking the pool_allocator with the pool locked (which would violate
  the pool_allocator -> pool locking order).
- Fix pool_reclaim() to not violate the pool_cache -> pool locking order
  by using a trylock.

Reviewed by Chuq Silvers.
2005-06-18 01:34:03 +00:00
lukem 5054440f25 be consistent in XXXGCC -Wuninitialized fixes ... 2005-06-18 01:33:16 +00:00
atatat efb4270746 Comment in new cp_id implementation was wrong since I abandoned
rewriting it in favor of some testing and then never got back to it.
It's better now.
2005-06-17 23:53:21 +00:00
elad 97d75abb70 Oops. Don't allow file delete even if it's not monitored if we're in
lockdown mode (strict level 3).
2005-06-17 22:39:08 +00:00
dsl 506fe1826c Rip out the support for writing bootstrap code. installboot(8) contains
support for hp300, hp700 and vax, $MACHINE is never arm32.
Fix usage output to only contain progname() once - bug introduced in rev 1.89
2005-06-17 21:20:18 +00:00
wiz 7fba66045a Bump date for -jn, and add some formatting. 2005-06-17 19:30:49 +00:00
jmc 736ef19188 Add new debugging option '-dn' which will leave the scripts fed into make on
-j jobs in /tmp for debugging purposes. Add a note to the man page that
this could cause problems if run a lot (due to the number of files created)
2005-06-17 19:25:20 +00:00
peter d4cc3cce89 Create links for pthread_attr_setschedparam.3
and pthread_attr_getschedparam.3 to pthread_attr.3.

From Igor Sobrado in PR/29997.
2005-06-17 18:37:24 +00:00
wiz 52e496a68e New sentence, new line. 2005-06-17 18:26:53 +00:00
peter e17db753e7 Mark as obsolete:
pthread_barierattr_destroy.*, pthread_barierattr_init.*

Add:
pthread_barrierattr_destroy.*, pthread_barrierattr_init.*

PR/29997 from Igor Sobrado.
2005-06-17 18:26:22 +00:00
wiz 27d002e8de New sentence, new line.
Break much too long line.
2005-06-17 18:23:52 +00:00
peter a28acffec8 Don't create links to pthread_barierattr_init.3 and
pthread_barierattr_destroy.3 but to pthread_barrierattr_init.3
and pthread_barrierattr_destroy.3 (note the 2 rs in barrier).
2005-06-17 18:23:19 +00:00
wiz 95c82c980c Non-argument options in SYNOPSIS belong before options with arguments.
New sentence, new line.
2005-06-17 18:22:18 +00:00
wiz f076596bae New sentence, new line. 2005-06-17 18:19:39 +00:00
peter 9231683ec7 Fix some spelling errors.
From Igor Sobrado in PR/29997.
2005-06-17 18:08:00 +00:00
peter 568accb2c0 Fix various spelling errors.
From Igor Sobrado in PR/29997.
2005-06-17 18:07:06 +00:00
peter 97c5e2ee72 - Document the -i flag (PR/26684)
- Add arguments to the relevant flags.
2005-06-17 17:49:07 +00:00
elad ad7b01f7d0 More veriexec changes:
- Better organize strict level. Now we have 4 levels:
  - Level 0, learning mode: Warnings only about anything that might've
      resulted in 'access denied' or similar in a higher strict level.

  - Level 1, IDS mode:
    - Deny access on fingerprint mismatch.
    - Deny modification of veriexec tables.

  - Level 2, IPS mode:
    - All implications of strict level 1.
    - Deny write access to monitored files.
    - Prevent removal of monitored files.
    - Enforce access type - 'direct', 'indirect', or 'file'.

  - Level 3, lockdown mode:
    - All implications of strict level 2.
    - Prevent creation of new files.
    - Deny access to non-monitored files.

- Update sysctl(3) man-page with above. (date bumped too :)

- Remove FINGERPRINT_INDIRECT from possible fp_status values; it's no
  longer needed.

- Simplify veriexec_removechk() in light of new strict level policies.

- Eliminate use of 'securelevel'; veriexec now behaves according to
  its strict level only.
2005-06-17 17:46:18 +00:00
peter 8704f18e38 Install vinum(4) manpage. 2005-06-17 17:12:57 +00:00
hira f999ca1abd Sort options (description). 2005-06-17 14:40:47 +00:00
hira a2ed3bbe80 - Add -h to usage.
- Use set/getprogname(3).
2005-06-17 14:36:16 +00:00
hira dfa6df8e5a - Whitespace nit.
- Wrap long line.
2005-06-17 14:27:18 +00:00
peter 63e19c89a6 - Correct the IFQ_ENQUEUE macro.
- Fix some internal variable names for some macros.
- A few corrections from the OpenBSD manpage.
2005-06-17 14:10:50 +00:00
peter f1843b15c3 - add -D to usage
- use getprogname()
- sort options (usage, synopsis and description)
- add `Ar conf_file' to -f option (description)

From Kouichirou Hiratsuka in PR/26532.
2005-06-17 12:02:00 +00:00
hannken e018f80e47 Avoid shadow warnings, const and __UNVOLATILE().
Kernel sparc/GENERIC.MP builds again.
2005-06-17 09:13:56 +00:00
enami cdc60944c2 Changes done in rev. 1.21 of getcap.3 (former name of this file) is
not correct since, as far as reading the source, it is impossible for
cgetset() to set such errno.  I guess `seq' is not a typo of `set' but
abbreviation of `sequen...'.
2005-06-17 02:10:45 +00:00
jmc 016a928508 Shadowing and const fixes. 2005-06-16 22:45:46 +00:00
jmc 61f16670a4 Fixes for volatile problems 2005-06-16 22:43:36 +00:00
jmc 7a0ba84f10 gcc 2.96 requires all declarations before variable usage so the last set of
changes to fix -Wunitialized broke on vax. Moved definitions of
option and op before the initializations.
2005-06-16 22:04:24 +00:00
jmc 96839ff18e Mark an sh3 gcc unitialized variable w. XXGCC 2005-06-16 20:39:33 +00:00
bouyer cf4b00e2e4 Remove a (wdc == NULL) test. We know wdc is not NULL at this point. 2005-06-16 20:15:04 +00:00
bouyer 69baf4357d Use pmatch() metacharacters to match both SATA and PATA versions of seagate
drives in the quirk table.
2005-06-16 20:03:35 +00:00
bouyer 5494975684 Add quirk for SIS 96x that masquerade as a SIS503. Based on patch sent by
Robert Fuller in kern/30431, information found in the linux kernel.
While here, add SIS 965 to the table (from FreeBSD).
2005-06-16 19:30:02 +00:00
jmc e72c744fe2 If the line being passed to the shell is a blank line and we're not in compat
mode, use the ignErr template for the command as shell doesn't like an empty
construct of the form { } || <something>. Fixes build breakage on cats
distrib where a command ends up expanding to nothing.
2005-06-16 18:07:45 +00:00
jmc 971a01a036 Rename a shadowed variable 2005-06-16 17:04:53 +00:00
elad a3c81f769c Since NetBSD operates in securelevel -1 by default, don't rely on the
securelevel alone when checking if the veriexec tables can be modified;
also check if the strict level is above 0.
2005-06-16 15:45:48 +00:00
elad 27cb371b94 Don't allow unprivileged users to open the veriexec device.
While I'm here, explicit 'int' for 'veriexec_device_usage'.
2005-06-16 15:41:36 +00:00
elad 68988657cd Don't allow unprivileged users to access the veriexec device. 2005-06-16 15:31:21 +00:00
christos fa2b48914c Instead of printing the raw cpu_id, print the logical cpu number. The raw
cpuid values may not be contiguous, or come in ascending order, so this
makes the cpu value of each process display match the summary display on
top.
2005-06-16 14:58:51 +00:00
christos 29a6465002 Add code to handle cp_id. From atatat. 2005-06-16 14:56:36 +00:00
christos dfa8191fb3 Add a new sysctl 'cp_id' that returns the array of cpu id values. Requested by
me, implemented by atatat.
2005-06-16 14:55:58 +00:00
rpaulo a94394c1d9 Back it out while I'm working on a real fix without introducing new bugs. 2005-06-16 14:54:10 +00:00
yamt 91fa31b5d2 uipc_usrreq: plug mbuf leak. 2005-06-16 14:36:42 +00:00