Commit Graph

74843 Commits

Author SHA1 Message Date
tjr
d2e458094c Build the asa(1) utility.
PR:		36130
Reviewed by:	mike
2002-05-15 03:37:55 +00:00
tjr
13b1096a78 #include <unistd.h> for getopt() and friends.
PR:		36130
Approved by:	mike
2002-05-15 03:31:40 +00:00
tjr
c0844f47a4 Use getopt() to reject options (asa has none), and to the "--" end of options
marker. Exit non-zero if we cannot open one of the input files. Update
standards conformance and exit status statements in manual page.

PR:		36130
Approved by:	mike
2002-05-15 03:17:01 +00:00
tjr
5fce6fe1a7 Remove __P,
Don't prototype main(),
C89-style function declarations,
char **argv -> char *argv[] for main()

PR:		36130
Approved by:	mike
2002-05-15 03:10:17 +00:00
tjr
fb7dc2e983 style(9): remove space between function name and opening parentheses,
sort variables, NULL is the null-pointer constant, remove unnecessary
braces.

PR:		36130
Approved by:	mike
2002-05-15 03:02:17 +00:00
tjr
03ace5aac1 Add the POSIX.2 asa utility, which interprets FORTRAN carriage-control
characters.

PR:		36130
Approved by:	mike
Obtained from:	NetBSD
2002-05-15 02:40:57 +00:00
kbyanc
134bb77c23 Reset token-ring source routing control field on receipt of ethernet frame
without source routing information.  This restores the behaviour in this
scenario to that of prior to my last commit.
2002-05-15 01:03:32 +00:00
iedowse
36cd292d7d Use fgetln to remove the static limit on the length of lines in
/etc/exports. Oversized lines were unlikely due to the large 10k
limit, but any found would cause mountd to exit with an error. Also
fix one or two compiler warnings.
2002-05-14 23:24:28 +00:00
green
957e7d4f00 o Clean up tmp file usage a little by using mkstemp(3) instead of
mktemp(3).  It would be amazingly unlikely, but the former method
  could result in a symlink attack.  A better solution would use
  ${TMPDIR}, though.
o Make sed not overwrite old backup files with no warning.
2002-05-14 23:15:42 +00:00
rwatson
61d5a9043f p_cansignal() returns an errno value; at some point, the check for
inter-process signalling ceased to preserve and return that value,
instead always returning EPERM.  This meant that it was possible
to "probe" the pid space for processes that were not otherwise
visible.  This change reverts that reversion.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-05-14 23:07:15 +00:00
jmallett
4e7e0a7753 Fix a "tiny and squeeby and little" markup mistake.
Submitted by:	fenner
2002-05-14 22:55:31 +00:00
jeff
ba85b0e087 Disable the shared locking namei() code for now. It breaks several stacking
filesystems.  This is on hold until the rest of VFS Locking is reviewed and
deemed safe.  It can be enabled with 'options LOOKUP_SHARED'.
2002-05-14 21:59:49 +00:00
obrien
c751ff18ae `unexpand -a' should be run _before_ sed 's/^#define /#define^I/g'. 2002-05-14 21:59:10 +00:00
obrien
a820a88999 Tighten up the defined()'s. 2002-05-14 21:54:56 +00:00
sobomax
bac8396cc9 - Make use of DEPOROGINs (if there are any) when installing package;
- fix few bogosities here and there;
- move some common routines into the library.

MFC after:	2 weeks
2002-05-14 21:42:37 +00:00
joerg
eb68e3aae2 After some comments from bde, rewrite the loops to avoid turning the
previously used "micro-optimization" (count-down loop) into a
pessimization.  Now the loops are written in the more natural count-up
form.

Also, while being there, i made the logic in out_fdc() similar to the
logic in in_fdc().  The old implementation was a bit bogus anyway
since it first tested the DIO bit and only afterwards the RQM bit.
However, according to the description of the i82077, the DIO bit is
only guaranteed to be valid once the RQM bit is set.  Thus, the old
implementatoin would have had the chance to misbehave on a controller
that is implemented in accordance with the i82077 description (but is
not bug-for-bug compatible).

MFC after:	3 days
2002-05-14 21:28:45 +00:00
dannyboy
23566a2f80 Trivial language fixes.
PR:		38015
Submitted by:	Chris Pepper <pepper@mail.rockefeller.edu>
2002-05-14 21:09:05 +00:00
phk
f957e47fe3 Move MI stuff out of MD param.h files.
It can all still be overridden in the MD files should need suddenly arise.
2002-05-14 20:35:29 +00:00
phk
d81ed87e72 Remove the unused definitions of ctod() and dotc(). 2002-05-14 20:01:34 +00:00
markm
8082500a64 Build using pregenerated manpages; don't use perl to translate .pod's.
The translated .pod's have already been committed.
2002-05-14 19:39:00 +00:00
rwatson
be8339f00b Modify the arguments to syncache_socket() to include the mbuf (m) that
results in the syncache entry being turned into a socket.  While it's
not used in the main tree, this is required in the MAC tree so that
labels can be propagated from the mbuf to the socket.  This is also
useful if you're doing things like transparent IP connection hijacking
and you want to use the syncache/cookie mechanism, but we won't go
there.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-05-14 18:57:55 +00:00
des
f2d1d92921 Remove a printf(3) argument with no corresponding format specifier. 2002-05-14 18:28:06 +00:00
mp
51434df12e Make our version tag unique due to our local changes.
PR:		19733
Submitted by:	sheldonh
MFC after:	3 days
2002-05-14 18:17:59 +00:00
bmah
b06734c981 Updated release notes: BIND 8.3.2-T1B, gcc-3.1.0 (and a big
<warning>).

Markup change:  Use manpage entity for devinfo(8).
2002-05-14 18:17:45 +00:00
brian
06388d2280 Fix an include for NetBSD 2002-05-14 17:50:25 +00:00
iedowse
2bfa80a0df Following a repo-copy from src/sys/ufs/ufs, rename functions and
structures etc. to ext2fs-specific names, and remove ufs-specific
code that is no longer required. As a first stage, the code will
still convert back and forth between the on-disk format and struct
inode, so the struct dinode fields have been added to struct inode
for now.

Note that these files are not yet connected to the build.
2002-05-14 17:14:01 +00:00
markm
c5a2874435 This commit was generated by cvs2svn to compensate for changes in r96593,
which included commits to RCS files with non-trunk default branches.
2002-05-14 16:06:50 +00:00
markm
aeefd5b3e2 As the perl-generated assembler files have been committed, add the
perl-generated (.pod) manual pages too. This is another nail in the
perl5 coffin (for base perl, not the port or the language in general).
2002-05-14 16:06:50 +00:00
ru
2f23cfb579 Make this -j safe. 2002-05-14 15:27:13 +00:00
rwatson
b6f7e9bf58 Strategic diff reduction against TrustedBSD MAC branch: introduce an
additional system boot ordering entry, SI_SUB_MAC_LATE, which occurs
after all MAC policies have been initialized, permitting the MAC
subsystem to take action once all "early loaded" modules are in place.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-05-14 14:36:09 +00:00
sheldonh
56de067ae4 Regen:
* Hart:		rev 298 of pcidevs.txt (2002-05-10)
* Boemler:	vendors.txt (2002-05-07)
2002-05-14 14:31:15 +00:00
keramida
afa314cac4 Grammar fix: cause -> causes.
PR:		docs/38059
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
2002-05-14 14:30:48 +00:00
ru
943422f782 Split release.2 into two stages. release.2 now install the base
dist, while release.3 makes and installs crypto, krb4, and krb5
dists.  This makes release.3 restartable (with "make rerelease").
2002-05-14 13:59:33 +00:00
ru
7d4d97cfb9 Make sure the first ${CHROOTDIR} installworld is done for the correct
arch.  This makes "make release TARGET_ARCH=foo" really work.

(I only tested with "make rerelease" before to save some time and did
not notice the problem.)
2002-05-14 13:45:50 +00:00
ru
64f3b6c534 GC now redundant BOOTSTRAPUTILS stuff. 2002-05-14 13:41:18 +00:00
brian
09439a23da Avoid a rather bizarre warning from gcc 3.1:
/usr/src/usr.sbin/ppp/cbcp.c:566:61: warning: trigraph ??! ignored
2002-05-14 13:32:30 +00:00
ru
a4cd115dd3 Even more BBSIZE related breakage. 2002-05-14 13:30:45 +00:00
brian
c2da7c8697 o Clean up some #includes
o Bump version number to 3.0.4
o When talking to a RADIUS server, provide a NAS-Port-Type.

  When the NAS-Port-Type is Ethernet, provide a NAS-Port value equal
  to the SESSIONID from the environment in direct mode or the
  NGM_PPPOE_SESSIONID message in other modes.  If no SESSIONID is found,
  default to the interface index in client mode or zero in server mode.

  When the NAS-Port-Type is ISDN, set the NAS-Port to the minor number
  of the physical device (ie, the N in /dev/i4brbchN).

  This makes it easier for the RADIUS server to identify the client
  WRT accounting data etc.

Prompted by:	lsz8425 <lsz8425@mail.cd.hn.cn>
2002-05-14 12:55:39 +00:00
nyan
4e0ba1d0e6 Fixed to build for GCC 3.1 2002-05-14 12:34:03 +00:00
brian
15e2de7839 Understand the new NGM_PPPOE_SESSIONID message and set SESSIONID
in the environment to it's value.

Approved by:	archie (after a very cursory glance)
2002-05-14 12:33:40 +00:00
nyan
ff317ae810 Add -ffreestanding to CFLAGS. 2002-05-14 12:32:59 +00:00
brian
fa0fd5ad19 Add a NGM_PPPOE_SESSIONID message to the ng_pppoe node.
This message is sent to the control socket when the SessionID
is established.

Approved by:	archie (after a very cursory glance)
2002-05-14 12:32:41 +00:00
nyan
f4fa5aa9e1 MFi386: revision 1.519 2002-05-14 12:31:47 +00:00
nyan
348895a33a Merged from sys/isa/fd.c revisions from 1.229 to 1.232. 2002-05-14 12:30:52 +00:00
nyan
6567706194 Merged from sys/dev/syscons/syscons.c revision 1.384 2002-05-14 12:29:34 +00:00
ru
98db9953e8 I somehow managed to forgot to commit this in my INCS sweep.
We don't need the `beforeinstall' here, INCS handles this.
2002-05-14 11:41:23 +00:00
ru
d82aa97dc8 New cpp(1) doesn't like -I${DESTDIR}/usr/include. 2002-05-14 11:37:10 +00:00
phk
8536ea3cdb Make daddr_t and u_daddr_t 64bits wide.
Retire daddr64_t and use daddr_t instead.

Sponsored by:	DARPA & NAI Labs.
2002-05-14 11:09:43 +00:00
phk
a7b5f92338 Match prototypes to functions over in fsck_ffs. 2002-05-14 09:40:33 +00:00
ru
c86405adbf Restore comment that got lost in revision 1.265. 2002-05-14 08:30:40 +00:00