Commit Graph

124 Commits

Author SHA1 Message Date
Robert Watson
361515d909 o Add a comment identifying the "privileged on privileged" scenario.
Obtained from:	TrustedBSD Project
2001-04-13 16:38:34 +00:00
Robert Watson
8f6fee753c o Add inter-process authorization uid regression testing for ktrace().
Obtained from:	TrustedBSD Project
2001-04-13 16:25:25 +00:00
Robert Watson
72919d5f6d o s/debug/ptrace/ since shortly there will be tests involving other
forms of debugging.

Obtained from:	TrustedBSD Project
2001-04-13 16:09:40 +00:00
Robert Watson
bacff58c0e o Expand inter-process authorization regression test to include
signalling with sigsegv as one of the tests.
o Teach errno_to_string() about ENOTSUPP.

Obtained from:  TrustedBSD Project
2001-04-12 17:46:20 +00:00
Robert Watson
3ceef0c3d7 o Enable -DSETSUGID_SUPPORTED in inter-process authorization regression
test by default, as setugid() is now part of the base kernel (assuming
  (options REGRESSION) has been enabled for the running kernel).

Obtained from: TrustedBSD Project
2001-04-11 20:23:23 +00:00
Robert Watson
274f7445fd o First pass at an inter-process authorization regression testing suite.
This test utility attempts to evaluate the current kernel policy
  for authorization inter-process activities, currently ptrace(),
  kill(, SIGHUP), getpriority(), and setpriority().  The utility creates
  pairs of processes, initializes their credential sets to useful
  cases, and reports on whether the results are in keeping with hard-coded
  safety expectations.

o Currently, this utility relies on the availability of __setugid(),
  an uncomitted system call used for managing the P_SUGID bit.  Due to
  continuing discussion of optional regression testing kernel components
  ("options REGRESSION") I'll hold off on committing that until the
  discussion has reached its natural termination.

o A number of additional testing factors should be taken into account
  in the testing, including tests for different classes of signals,
  interactions with process session characteristics, I/O signalling,
  broadcast activities such as broadcast signalling, mass priority
  setting, and to take into group-related aspects of credentials.
  Additional operations should also be taken into account, such as ktrace,
  debugging attach using procfs, and so on.

o This testing suite is intended to prevent the introduction of bugs
  in the upcoming sets of authorization changes associated with the
  introduction of process capabilities and mandatory access control.

Obtained from: TrustedBSD Project
2001-04-11 17:21:14 +00:00
Jeroen Ruigrok van der Werven
d7d97eb0aa Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
Poul-Henning Kamp
5683c3dd1f Look for modules in /boot/kernel these days. 2001-01-18 22:36:34 +00:00
Poul-Henning Kamp
a1b75a424f The latest & greatest unused #include spotter. Faster, one-pass and
more precise than ever.

1230 hits on the current kernel.
2000-10-28 21:44:05 +00:00
Poul-Henning Kamp
0b4ff393d4 Teach kerninclude to check <machine/*> #includes as well.
Currently it finds 2072 supposedly unneeded #includes in the first pass.
2000-10-13 12:03:01 +00:00
Poul-Henning Kamp
8aa6458645 Use "make LINT" to create our LINT config 2000-09-25 12:40:39 +00:00
Garrett Wollman
c2bb3a3e02 Fix compilation problems and bounds-checking bug in `ifinfo'.
PR:		21177
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2000-09-13 19:53:54 +00:00
Poul-Henning Kamp
8b2a388086 Make this work with current makefiles again. 2000-08-21 14:42:48 +00:00
Alexander Langer
4edde70858 - Add $FreeBSD$
- Refer to the README files in the subdirs.
2000-08-13 14:46:31 +00:00
Jake Burkholder
e39756439c Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
Jake Burkholder
740a1973a6 Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd
2000-05-23 20:41:01 +00:00
Poul-Henning Kamp
83354dc7f2 Use profiling on LINT.
cosmetics.
2000-04-27 19:58:57 +00:00
Garrett Wollman
8c3f05ad1d Add a little test program to demonstrate POSIX Shared Memory Objects. 2000-04-22 15:29:21 +00:00
Sheldon Hearn
21edc5f5c8 Correct grammar in the synoptic comment.
Submitted by:	ru
2000-03-03 09:25:00 +00:00
Sheldon Hearn
d72d02311f Use double-quotes instead of single-quotes when displaying the usage
so that the shell interpolates $0.

PR:		17121
Submitted by:	Peng HaiJie <phj@cn.FreeBSD.org>
2000-03-02 15:00:53 +00:00
Peter Dufault
e5f1b1b180 These are regression tests for the P1003.1B scheduler.
Approved by:	jkh
2000-02-16 14:28:42 +00:00
Marcel Moolenaar
24066d3209 Don't use -C internally. Use -c. For some reason files are not copied
with -C, although they should.
1999-12-15 18:08:56 +00:00
Marcel Moolenaar
168f8d1648 Use install -C -p instead of cp -p.
Pointed out by: bde
1999-12-10 10:14:06 +00:00
Marcel Moolenaar
d33ed1111a install(1) lookalike that can be used during a build. Any options
are ignored and the remaining is passed on to cp(1). This allows
a build to be run as non-root without forcing any user/group
setting and also prevents setting any file flags.

This may not be the right place for buildtools.
1999-12-08 13:40:44 +00:00
Wolfram Schneider
6c36ecd55c Include BSD-license.
PR:		misc/15262
Submitted by:	 alex@big.endian.de
1999-12-06 22:33:40 +00:00
Alexey Zelkin
3fcae27b92 Bring ``ac'' into reality. This great tools now works correctly (for
current state of the tree)
1999-11-04 08:45:02 +00:00
Alexey Zelkin
d4dee594a4 Add short description of dumpvfscache 1999-11-04 08:42:29 +00:00
Poul-Henning Kamp
456b2f8063 Add the machine that goes "BINGO" every time an potentially
unused #include is spotted in the kernel sources.

(This commit message celebrates Monty Pythons 30year aniversary)
1999-10-11 19:43:44 +00:00
Archie Cobbs
32e29e4547 Remove the "diffburst" tool, because equivalent functionality is now available
via "split -p". Leave a note to this effect in the README file.
1999-09-22 23:48:58 +00:00
Alexey Zelkin
d5cbae93d2 mdoc(7) style fixes.
PR:		docs/13408
Reviewed by:	mpp
1999-09-05 06:02:03 +00:00
Mike Pritchard
229494cb51 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:10:20 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Bruce Evans
8665be266d Look for symbols in /modules/*.ko, not in /lkm/*.o. 1999-07-29 07:12:01 +00:00
Jordan K. Hubbard
29fcf344ff Move the proper set of libraries. 1999-04-05 21:41:56 +00:00
Jordan K. Hubbard
a83aea7558 Do a better job of finding the default root device. 1999-02-15 02:22:24 +00:00
Joerg Wunsch
5db5c8f19d Fix a typo describing the filename of cvt-wtmp.
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-02-07 20:30:56 +00:00
Jordan K. Hubbard
cf9f8234bb Make directories unconditionally to deal with the empty directory
case.

Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-02-01 12:45:03 +00:00
Jordan K. Hubbard
b6c8511860 Make building the kernel conditional. 1999-01-27 03:18:33 +00:00
Jordan K. Hubbard
8573fbf238 1. Properly chflags libraries before moving (otherwise they don't).
2. Add my helper script for upgrades; not enabled yet.
1999-01-26 04:13:03 +00:00
Archie Cobbs
740e54be27 Add the 'diffburst' tool, which does the following:
Reads the output of 'diff -r' and splits it into separate
    patch files, one per file. The files are named 'patch-XX'
    where XX is aa, ab, ac, ... Useful when creating ports.
1999-01-07 19:28:57 +00:00
Martin Cracauer
36cabb9282 Actually document my last addition.
General cosmetics.
Add a note that scsi-defects has not been ported to CAM.
Submitted by:	BDE
1998-12-17 12:21:20 +00:00
Martin Cracauer
37fcb38764 Add some emacs code to make cc-mode almost compatible to style(9).
Sort entries in toplevel README.
1998-12-15 16:51:49 +00:00
Archie Cobbs
915ffe6c6f Automatically detect a.out vs. elf kernel 1998-12-08 08:14:37 +00:00
Archie Cobbs
20ec02b38c Add "-aout" flag to nm until the kernel is ELF'd. 1998-12-06 21:39:07 +00:00
Bruce Evans
fcd70874b4 Ignore objects used to build utilities (*aicasm*.o and *genassym*.o). 1998-11-27 10:18:56 +00:00
Bruce Evans
17d1bf4260 Removed all `vector xxxintr' specifications. Interrupt handlers are now
configured in drivers.
1998-10-22 15:53:06 +00:00
Peter Wemm
da942c6108 3.0-RELEASE and now the post-release 3.0-CURRENT were being declared
'too old' to run ELF.  Check the kernel version properly.
1998-10-17 05:40:46 +00:00
Poul-Henning Kamp
14d9b0c364 Prevent ldconfig from choking by creating any missing directories. 1998-09-16 17:42:53 +00:00
Warner Losh
f4627296cd getopt returns -1 not EOF 1998-09-09 17:24:31 +00:00
John Birrell
6769808313 Add a note about the upgrade tool directory. 1998-09-09 05:48:51 +00:00