Commit Graph

10615 Commits

Author SHA1 Message Date
joerg
ca1a6f97cd Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
2013-07-02 11:59:46 +00:00
joerg
9e69720425 Fix violations of the sequence point rule. 2013-06-28 15:04:35 +00:00
roy
aaccc84c03 If we die and there are no timers, just exit. 2013-06-28 07:59:32 +00:00
roy
5bec235cc5 Check valid lengths of RDNSS and DNSSL options when rtadvd receives RA/RS.
rtadvd doesn't actually look into the option itself, but it may do in the
future to warn about consistency.
2013-06-27 15:46:40 +00:00
christos
e9c2d7a015 Add a set_queue_size to avoid more code duplication, and set the queue size
of all tty fd's, not just the ones that we create (the ones that we get passed
in too). Fixes my iPhone -> xl2tpd -> pppd VPN from corrupting packets with
MTU > ~650.
2013-06-24 20:43:48 +00:00
dholland
75571afd93 Stick ffs_ in front of the following macros:
fragstoblks()
   blkstofrags()
   fragnum()
   blknum()

to finish the job of distinguishing them from the lfs versions, which
Christos renamed the other day.

I believe this is the last of the overtly ambiguous exported symbols
from ffs... or at least, the last of the ones that conflicted with lfs.
ffs still pollutes the C namespace very broadly (as does ufs) and this
needs quite a bit more cleanup.

XXX: boo on macros with lowercase names. But I'm not tackling that just yet.
2013-06-23 22:03:34 +00:00
dholland
e1610ba4cb Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup
2013-06-23 07:28:36 +00:00
kefren
42c11e10c7 allow INET6 gateways, split some long lines 2013-06-23 06:40:26 +00:00
dholland
2737439da3 fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)
2013-06-23 02:06:04 +00:00
uwe
fd21d10e53 Don't check MKINET6 - parent makefile doesn't descend to ndp if it's "no". 2013-06-21 12:50:50 +00:00
uwe
62fe4696d8 Remove this stub that hasn't been necessary in a decade or so. 2013-06-21 12:42:55 +00:00
christos
a3836d5300 bye build glue 2013-06-20 18:41:26 +00:00
christos
d5b265f4fb Enable wildcard matching in psk files. We are big kids and if we put a *
in the psk file, we mean it.
2013-06-20 15:42:58 +00:00
dholland
f1333577b5 Rename ambiguous macros:
MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
   NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
   INOPB -> FFS_INOPB, LFS_INOPB
   INOPF -> FFS_INOPF, LFS_INOPF
   blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
   sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.
2013-06-19 17:51:25 +00:00
christos
855bb66ef7 Prefix most of the cpp macros with lfs_ and LFS_ to avoid conflicts with ffs.
This was done so that boot blocks that want to compile both FFS and LFS in
the same file work.
2013-06-18 18:18:57 +00:00
christos
ba70cbfcf3 don't echo the make command in the output file. 2013-06-17 17:40:17 +00:00
martin
23e8ed59f1 In the tool build <nbinclude/vax/disklabel.h> is enough. 2013-06-16 19:05:00 +00:00
christos
0ebdad6fe7 - missing semicolon
- missing SKIPS
- assignment instead of comparison
2013-06-15 22:53:18 +00:00
msaitoh
0893cfd5dd Remove trailng whitespaces. 2013-06-14 03:54:43 +00:00
christos
56ff42629e more thorough passwd/group checks. 2013-06-11 14:39:07 +00:00
mrg
b3bc0e936f implement SOURCEMODE version of "fontconfig". 2013-06-10 20:33:31 +00:00
jmmv
4aa7c4b88e Fix LINKS spec. 2013-06-09 22:00:50 +00:00
christos
515c2000f1 bump date. 2013-06-09 18:39:31 +00:00
christos
ce446494c4 Alias this to vndconfig for symmetry. 2013-06-09 18:39:05 +00:00
dholland
5a420c1b9a Stick UFS_ in front of these symbols:
DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.
2013-06-09 17:57:08 +00:00
christos
1b081a707c Now that we grow vnd's dynamically we cannot depend on the kernel returning
ENXIO when we exceed the number of configured vnds, so in the -l case, print
info for all vnds we can find device nodes for in /dev.
2013-06-09 13:25:40 +00:00
dholland
6dc91806df Use struct ulfs1_dinode instead of struct ufs1_dinode. 2013-06-08 23:27:34 +00:00
christos
415d109c2c Revert previous. It is too aggressive and might pick the wrong interface
now.
2013-06-08 13:13:34 +00:00
apb
62d3d9959d "temp", "pub", and "proxy" are keywords, not replaceable
parameters, so do not use ".Ar" markup.  Use either no markup,
or ".Dq" markup, depending on context.
2013-06-07 18:33:53 +00:00
christos
ab61edc6b5 allow ifscope with pub and proxy 2013-06-07 17:18:33 +00:00
christos
d7a0544b97 - skip addresses that don't have a link address by finding the link address
immediately.
- don't skip v6 only interfaces.
- default to the first interface with a link address or to the best matching
  one, printing a warning if there are more than one.
- consume data after sending messages to the routing socket.
2013-06-07 17:17:14 +00:00
christos
4d4651f0df Add an ifscope <interface> argument to arp in the spirit of the MacOS/X one,
that sets the arp entry on the interface specified. Undocumented for now,
until people decide it is useful.
2013-06-07 01:09:10 +00:00
mrg
63b935973f update do_fontconfig() to update all the conf.avail files. fixes
errors that xkbcomp spews when the X server starts since fontconfig
was updated.
2013-06-06 07:06:42 +00:00
spz
b32980a908 document the anon account for anonymous access
fixing PR misc/5545
(the last bits thereof)
2013-05-28 20:13:16 +00:00
christos
c68a8e00e8 PR/47861: Fredrik Pettai: keep track of the address family for each socket
opened and don't send the a message to the wrong family type.
2013-05-27 23:15:51 +00:00
wiz
92b40f3b9f Reword to work around phrasing that caused lots of discussions.
From Robert Elz.
2013-05-26 17:25:53 +00:00
wiz
6797ae4401 Correct a phrase. From jmc@openbsd.
Already fixed once by mbalmer and unfixed by me. Oops.
2013-05-24 16:38:46 +00:00
wiz
0d6fc7f479 Update description for -a:
-a autoprobes multiple ifs, and does not exit with error.

Diff originally from Mark Johnston (markj@freebsd), via jmc@openbsd.

Bump date.
2013-05-24 13:45:46 +00:00
prlw1
281d156eac add _gpio to gid check 2013-05-21 12:07:03 +00:00
rmind
ce38978248 - Add NPF table flushing functionality.
- Fix line numbering for npfctl debug command.
2013-05-19 20:45:34 +00:00
mbalmer
4dfbc91d39 Make it easier to use gpioctl(8) in shell scripts: Add a -s flag which
instructs gpioctl(8) to only output a single numeric value, either the
number of pins if no pin number was passed as argumenti, or, the current
state of the pin.
2013-05-19 15:31:23 +00:00
mbalmer
9cfaa75e46 Remove stray 'To'. 2013-05-19 14:06:35 +00:00
skrll
e30bd26d32 Fix typo. Reported in PR/47823. 2013-05-17 07:53:05 +00:00
yamt
8782935dec try to sync lists of rc.d scripts 2013-05-16 07:37:05 +00:00
christos
9eea140044 avoid stdio assertion, failing later 2013-05-15 00:35:02 +00:00
christos
464306f9db always allow hex where decimal is allowed. 2013-05-09 19:12:03 +00:00
kefren
12d5f1b2e0 First send initialize and keep alive after that. Fixes inter-operability
issues regarding session initialization.
2013-05-08 08:57:45 +00:00
matt
252b82608c Make this build with the disk label change. 2013-05-03 21:32:04 +00:00
matt
5f058922b3 This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
2013-05-02 03:56:38 +00:00
kardel
640a1e10fd reenable routing functionality by using RT_ROUNDUP for ROUNDUP when available 2013-04-15 07:58:35 +00:00