Commit Graph

155 Commits

Author SHA1 Message Date
Alexey Zelkin
b5ed0bcd23 Complete '_' hack. 2002-02-07 19:32:40 +00:00
Alexey Zelkin
dca7443ba8 . add a hack dedicated to n_himba (or correctly to say problem with his nick
in docbook environment)
. clarify comments
. mention that this script is dedicated to freefall's environment
. add bsd style copyright
2002-02-07 19:27:29 +00:00
Alexey Zelkin
99349513d0 This script has served its purpose. Now its function is one of subfunctions
of recently added cknames.pl.
2002-02-07 19:13:06 +00:00
Alexey Zelkin
d97a65d2a1 Add script to check integrity between access/authors.ent/passwd@freefall 2002-02-07 19:09:49 +00:00
Alexey Zelkin
7658e887d3 Fix sentence in comment 2002-02-06 18:00:11 +00:00
Alexey Zelkin
e0738f01ca Update description of 'ac' subdirectory 2002-02-06 17:50:05 +00:00
Alexey Zelkin
1afcdc8a91 Add descirptions of scripts in this directory 2002-02-06 17:49:13 +00:00
Alexey Zelkin
f1c3a0188c Add script that checks contents of .ent files (sorting and addresses) 2002-02-06 17:47:18 +00:00
Alexey Zelkin
d6d290cbca List of committers was moved out of handbook. Teach 'ac' about new location.
Also teach it about complex entries in access file (or correctly to say
simplify them)
2002-02-06 17:09:08 +00:00
Alexey Zelkin
364a805b9f * fix some warnings
* set WARNS
* few style/whitespace fixes

Submitted by:	ru
2002-02-04 16:17:19 +00:00
Alexey Zelkin
df3cc3c14d describe localeck
plus some capitalization/whitespace fixes
2002-02-04 14:00:29 +00:00
Alexey Zelkin
ac6e0aed98 Add simple diagnostic utility to checking for invalid/incomplete
locales
2002-02-04 13:59:16 +00:00
Kelly Yancey
adeb92a24c Remove broken attempt to compile libc's malloc source directly; this
allows this tool to compile again. Albeit, now to test a new malloc
implementation one has to install the new libc which may have bad
consequences (i.e. if the new malloc implementation were buggy).

Add logic to workaround malloc's current behaviour of returning an
invalid non-NULL pointer for 0 byte allocation requests; this prevents the
tool from coring during the NOPS loop.

Add $FreeBSD$ tags.
2002-01-02 06:42:34 +00:00
Kelly Yancey
f1d24f0dfd Include definition for struct namecache (it isn't exported via any header)
so this builds again. Replace hardcoded name length magic with NAME_MAX.
2002-01-02 06:25:39 +00:00
Jordan K. Hubbard
61404abce8 Add Apple's filesystem exercising tool.
Submitted by:   Conrad Minshall <conrad@apple.com>
Obtained from:  Apple Computer
2001-12-20 04:15:57 +00:00
Sheldon Hearn
41bab7c80f Correct misattribution of the Hart list, which I had mistakenly
attributed to Heckenbach.
2001-12-01 13:08:20 +00:00
Sheldon Hearn
a320ca2f9a Add the script that will be used to maintain src/share/misc/pci_vendors.
The script written and used originally by msmith has been lost.

This version takes the Boemler and Heckenbach lists and produces merged
output.  It defaults to ignoring any entries from Heckenbach already
found in Boemler but the -l option causes it to take the entry with the
longest description where an entry appears in both lists.

If this script is replaced, care should be taken to

1) Always use upper-case hexidecimal tokens in device ids.

2) Always keep device lists sorted within vendor lists, which must also
   be sorted.

3) Do not try to include input from the previous pci_vendors file, since
   bogus ids seem to be removed from both the Boemler and Heckenbach
   lists from time to time.
2001-11-22 14:26:30 +00:00
Dag-Erling Smørgrav
e568548eee Now it gets interesting... 2001-11-13 00:51:00 +00:00
Dag-Erling Smørgrav
21dc7ada34 Use a slightly less predictable temp file name, remove a stale list of PRs
with corrupted submission dates (they were fixed on freefall a while ago),
and uncomment the code that removes the temp file when we're done.
2001-11-13 00:07:21 +00:00
Dag-Erling Smørgrav
89090fe2ba This is a PR statistics-gathering script I wrote a while ago. It currently
doesn't do much of interest except produce graphs similar to phk's.
2001-11-12 23:59:56 +00:00
Poul-Henning Kamp
c8ac4faa0b Update. 2001-11-05 22:07:44 +00:00
Poul-Henning Kamp
ddc38af27b This is long since unused. 2001-11-05 22:06:33 +00:00
Poul-Henning Kamp
c64a712a37 This simple shell-script tries to find *.c files under /sys
which are not in some way used or referenced somewhere.
2001-11-05 22:06:09 +00:00
Doug Rabson
9c2de1cd14 Make a start at a regression test for the unaligned trap handler. 2001-10-19 22:10:13 +00:00
Bill Fenner
b9d45cebf4 The interface index space may be sparsely populated (e.g. when an
interface in the middle is if_detach()'d).  Return (and handle)
 ENOENT when the ifmib(4) is accessed for a nonexistent interface.

MFC after: 14 days
2001-10-17 04:12:29 +00:00
Jeroen Ruigrok van der Werven
59b9066490 Add $FreeBSD$.
Describe the other two directories in here.
2001-10-08 12:28:31 +00:00
Robert Watson
abc9a36083 o Fix two eaccess() checks -- in one case, the wrong test file
was used, resulting in a regression failure, and in the other,
  the test on an error return was inverted.

Obtained from: TrustedBSD Project
2001-09-21 21:28:43 +00:00
Robert Watson
884748cf55 o Regression test to check that appropriate parts of the process
credential are used in the access() and new eaccess() system calls.

Obtained from:	TrustedBSD Project
2001-09-20 20:03:58 +00:00
Andrey A. Chernov
c09ed64a72 ISO_ -> ISO 2001-06-11 01:29:40 +00:00
Ruslan Ermilov
2c745214f2 Added support for all new install(1) options.
Removed -c from the actual call as -p implies "copy".
2001-05-28 16:53:01 +00:00
Poul-Henning Kamp
cbfc3f7c5c Update this to reflect changes in config(8) usage.
It finds 639 hits on kernel source from before the <sys/mount.h>
change earlier today.
2001-04-23 17:31:16 +00:00
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