| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
order to - for example - apply firewall rules to a whole group of
interfaces. This is required for importing pf from OpenBSD 3.9
Obtained from: OpenBSD (with changes)
Discussed on: -net (back in April)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sector size, instead of later failing with an error about /boot/mbr
not being a multiple of the sector size (since we end up with an
assumed sector size of MAX_SEC_SIZE * 2).
- We query the sector size via an IOCTL anyway, so if that succeeds
use that instead of probing for it via read(2) calls. This fixes
the problem with fdisk failing to operate on at least graid3 and
md(4) devices on kernels with src/sys/geom/geom_dev.c before
rev. 1.90, due to fdisk failing to detect the sector size.
- When detecting the root device allow "/" characters in it, which
happens with e.g. gmirror devices.
Reviewed by: cperciva
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 'tag' & 'untag' action parameters.
- 'tagged' & 'limit' rule options.
Rule examples:
pipe 1 tag tablearg ip from table(1) to any
allow ip from any to table(2) tagged tablearg
allow tcp from table(3) to any 25 setup limit src-addr tablearg
sbin/ipfw/ipfw2.c:
1) new macros
GET_UINT_ARG - support of 'tablearg' keyword, argument range checking.
PRINT_UINT_ARG - support of 'tablearg' keyword.
2) strtoport(): do not silently truncate/accept invalid port list expressions
like: '1,2-abc' or '1,2-3-4' or '1,2-3x4'. style(9) cleanup.
Approved by: glebius (mentor)
MFC after: 1 month
|
|
|
|
|
| |
strings and cp is not. Fix logic in the original code and eliminate
core dumps on lines without '\n'.
|
|
|
|
|
|
| |
PR: bin/98905
Submitted by: Fabian Keil
MFC after: 1 week
|
|
|
|
| |
Obtained from: DragonFlyBSD
|
|
|
|
| |
mdoc(7) warning.
|
| |
|
|
|
|
|
|
| |
keeping a flag to check whether we actually wanted to mount the filesystem
readonly, setup the options list so that we start off by assuming rw is what's
desired and let later flags change that.
|
|
|
|
|
|
|
|
|
| |
to the init. This prevents zombies from being accumulated.
PR: bin/64198
Tested by: Eugene Grosbein <eugen at www svzserv kemerovo su>
Approved by: kan (mentor)
MFC after: 1 month
|
|
|
|
|
| |
(for backward compatibility), but print a warning to inform about the
change.
|
|
|
|
| |
Discussed with: pjd
|
| |
|
| |
|
| |
|
|
|
|
| |
Supported by: Wheel Sp. z o.o. (http://www.wheel.pl)
|
|
|
|
|
|
|
| |
Now, encryption algorithm is given using '-e' option, not '-a'.
The '-a' option is now used to specify authentication algorithm.
Supported by: Wheel Sp. z o.o. (http://www.wheel.pl)
|
|
|
|
| |
Requested by: maxim
|
|
|
|
|
|
|
| |
disk block(s) number(s).
Obtained from: NetBSD
MFC after: 2 months
|
|
|
|
|
|
| |
PR: bin/98349
Submitted by: Mark Andrews
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove call to getmntopts(), and just pass -o options to
nmount(). This removes some confusion as to what options
msdosfs can parse, by pushing the responsibility of option parsing
to the VFS and FS specific code in the kernel.
msdosfs_vfsops.c:
- add "force" and "sync" to msdosfs_opts. They used to be specified
in mount_msdosfs.c, so move them here. It's not clear whethere these
options should be placed into global_opts in vfs_mount.c or not.
Motivated by: marcus
|
|
|
|
|
|
|
|
| |
Bump WARNS to 6.
PR: amd64/97566
Reviewed by: phk@
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
Since tags are kept while packet resides in kernelspace, it's possible to
use other kernel facilities (like netgraph nodes) for altering those tags.
Submitted by: Andrey Elsukov <bu7cher at yandex dot ru>
Submitted by: Vadim Goncharov <vadimnuclight at tpu dot ru>
Approved by: glebius (mentor)
Idea from: OpenBSD PF
MFC after: 1 month
|
|
|
|
|
|
| |
parsed, so it winds up at usage anyway.
Add 'b' to the usage summary. Noticed by Ben Mesander.
|
|
|
|
|
|
|
|
| |
safely free() anything related to items that may be recursed on.
Obtained from: DragonFly (rev 1.7, dillon)
PR: bin/94767
MFC After: 1 month
|
|
|
|
|
| |
mount(8) doesn't use mount_procfs(8), and instead passes an fstype
of "procfs" directly to nmount().
|
| |
|
|
|
|
|
| |
mount no longer invokes mount_ext2fs, it calls nmount() directly
with fstype "ext2fs".
|
|
|
|
|
|
|
|
| |
It is no longer needed, because "mount -t reiserfs" calls nmount(2)
directly to mount a ReiserFS file system without the use of
this external mount program.
Approved by: dumbbell
|
|
|
|
|
|
|
| |
inet_pton. This fixes cases like "fe02::/16".
PR: bin/91245
Reported by: Fredrik Lindberge
|
| |
|
| |
|
|
|
|
| |
contrast to ip6fw - is properly lockes, it is time to retire ip6fw.
|
|
|
|
| |
Requested by: bz
|
| |
|
|
|
|
|
|
| |
quota files location.
Submitted by: Kostik Belousov
|
|
|
|
|
|
|
|
|
| |
option if none is given in the config file. Also add #ifdefd out
support for sending a client ID based on our MAC address.
PR: bin/94743, bin/76401
Submitted by: Frank Behrens <frank at pinky dot sax dot de>
X-MFC after: 6.1-RELEASE
|
| |
|
|
|
|
|
|
|
|
|
|
| |
o Introduce -r and -w keys which allow to load and save a worklist.
o Replace README by man page.
PR: bin/96677
Submitted by: Ulrich Spoerlein
Approved by: phk
MFC after: 1 month
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
| |
memory, so checking the size of the partition is not necessary.
Tested by: kris
|
|
|
|
|
|
|
|
|
|
|
| |
arguments so we do not coredump at "help foo", "back bar" and such.
o Be consistent and print argc - 1 as a command arguments number in
all cases.
PR: bin/37096
Submitted by: Joshua Goodall
MFC after: 1 month
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
PR: docs/67893
Submitted by: Chris Pepper, Daniel Gerzo
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
| |
Reset it to 1 for each devd config file so if the parser finds
a syntax error devd(8) will report a correct line number.
Submitted by: Niki Denev
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
Supported for raid-0 with <n> disks, raid-1 with 2 disks.
Manpages have examples, warnings etc.
Test scripts on
http://www.cons.org/cracauer/ccdconfig-linux/
Reviewed by: alfred
|
| |
|
|
|
|
|
| |
is (sym)linked to libpthread. Account for this change and
check for MK_LIBTHR instead of MK_LIBC_R where appropriate.
|
|
|
|
|
|
|
|
|
|
| |
to match the number of inodes on the disk. If we find a directory
entry with a crazy inode number in it, don't look beyond the end
of the bitmap to find that inode's state. Instead skip that directory
entry and print a warning.
Reviewed by: iedowse
MFC after: 3 weeks
|