| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
We can now just call setctty() without any problems. This means the
shell running the shutdown script is now the session leader, just like
on startup.
|
|
|
|
| |
Pointed out by: marcel
|
|
|
|
|
|
|
|
|
|
|
| |
Even though I thought this bug was somewhere in the TTY layer, it turns
out init(8) doesn't make sure /dev/console is opened initially properly.
I've added revoke() to two pieces of code:
- death(): Apart from killing the gettys on shutdown, this doesn't
guarantee the TTY to be closed immediately.
- runshutdown(): Just like setctty(), we should revoke /dev/console.
Applications like syslogd may have file descriptors to the console.
|
|
|
|
|
|
|
|
| |
bits but isi_state did not follow; expand it to 32 bits and pad to
maintain alignment. Note this is an incompatible change that
requires rebuilding of user applications.
Submitted by: rpaulo, cbzimmer, avatar
|
|
|
|
|
|
|
| |
Approved by: gnn (mentor)
Reviewed by: pjd
PR: 128398
Submitted by: Marius Nuennerich < marius at nuenneri.ch >
|
|
|
|
|
|
|
| |
Submitted by: marck
Reviewed by: current@
Approved by: jhb (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
internal buffer sizes.
When we 'append', assume we're appending to text. Some MS dhcp servers will
give us a string with the length including the trailing NUL. when we 'append
domain-name', we get something like "search x.y\000 z" in resolv.conf :(
MFC after: 1 week
Security: A buffer overflow (by one NUL byte) was possible.
|
|
|
|
| |
warnings.
|
|
|
|
|
|
|
|
|
| |
"profile" files (bandwidth is mandatory when using a
profile, so it makes sense to have everything in one place).
Update the manpage accordingly.
Submitted by: Marta Carbone
|
|
|
|
|
|
| |
Detected building with gcc 4.3.3
MFC after: 3 days
|
|
|
|
| |
The missing parameter(s) are automatically filled-in.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
version field sent via gif(4)+if_bridge(4). The EtherIP
implementation found on FreeBSD 6.1, 6.2, 6.3, 7.0, 7.1, and 7.2 had
an interoperability issue because it sent the incorrect EtherIP
packets and discarded the correct ones.
This change introduces the following two flags to gif(4):
accept_rev_ethip_ver: accepts both correct EtherIP packets and ones
with reversed version field, if enabled. If disabled, the gif
accepts the correct packets only. This flag is enabled by
default.
send_rev_ethip_ver: sends EtherIP packets with reversed version field
intentionally, if enabled. If disabled, the gif sends the correct
packets only. This flag is disabled by default.
These flags are stored in struct gif_softc and can be set by
ifconfig(8) on per-interface basis.
Note that this is an incompatible change of EtherIP with the older
FreeBSD releases. If you need to interoperate older FreeBSD boxes and
new versions after this commit, setting "send_rev_ethip_ver" is
needed.
Reviewed by: thompsa and rwatson
Spotted by: Shunsuke SHINOMIYA
PR: kern/125003
MFC after: 2 weeks
|
|
|
|
|
|
| |
gpart(8). LBAs in particular are ugly. The ganularity is a sector,
but users expect byte granularity when specifying the size or offset
with a SI unit. Handle LBAs specially to deal with this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pipes, queues, tags, rule numbers and so on.
These are all different namespaces, and the only thing they have in
common is the fact they use a 16-bit slot to represent the argument.
There is some confusion in the code, mostly for historical reasons,
on how the values 0 and 65535 should be used. At the moment, 0 is
forbidden almost everywhere, while 65535 is used to represent a
'tablearg' argument, i.e. the result of the most recent table() lookup.
For now, try to use explicit constants for the min and max allowed
values, and do not overload the default rule number for that.
Also, make the MTAG_IPFW declaration only visible to the kernel.
NOTE: I think the issue needs to be revisited before 8.0 is out:
the 2^16 namespace limit for rule numbers and pipe/queue is
annoying, and we can easily bump the limit to 2^32 which gives
a lot more flexibility in partitioning the namespace.
MFC after: 5 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
Pointed out by: trhodes
|
|
|
|
|
|
|
|
|
| |
try to load modules by filename out of the current directory where the module
in question may be further up the module path or not in the module path at all.
Also add some text to the man page to help explain what's going on.
Sponsored by: Redacted Consulting
|
|
|
|
| |
Sponsored by: Redacted Consulting
|
|
|
|
| |
Submitted by: wxs
|
| |
|
|
|
|
| |
Reported by: Lucius Windschuh <lwindschuh@googlemail.com>
|
|
|
|
| |
Suggested by: Jaakko Heinonen <jh -at- saunalahti.fi>
|
|
|
|
|
|
| |
to stable/7 branch in r190315. So only resort to fallback_mount()
could which passes struct nfs_args to kernel in kernel versions
less than 702100.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
flag from a mount flag to FS-specific flag.
- Simplify usage. Instead of 'mksnap_ffs /mnt/foo /mnt/foo/snap' allow to
give only one argument: 'mksnap_ffs /mnt/foo/snap'. Old usage is also
accepted for now.
- Add an example of how to mount a snapshot.
|
|
|
|
|
|
| |
PR: 129110
Submitted by: Mike Voorhis <mvoorhis@cs.wpi.edu>
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
experimental client is used when the fstype is "newnfs" or the "nfsv4"
option is specified. It includes the addition of the option:
gssname - to specify a client side initiator host based principal name
which is specific to NFSv4.
It also includes a change to mount.c, so that it knows about
mount_newnfs, but not mount_nfs4.
Reviewed by: dfr
Approved by: kib (mentor)
|
|
|
|
| |
Suggested by: trhodes
|
|
|
|
|
|
| |
PR: docs/134930
Submitted by: Alex Keda
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
so that it understands '*' as 'DTRT'.
PR: 68312
Submitted by: Rene de Vries - rene at tunix dot nl (mostly)
MFC after: 3 weeks
|
|
|
|
|
|
| |
compatibility interfaces in both kernel and libc.
Reviewed by: rwatson
|
|
|
|
|
|
|
| |
prior to 8.0-RELEASE. Rick Macklem's new and more feature-rich NFSv234
client and server are replacing it.
Discussed with: rmacklem
|
| |
|
|
|
|
| |
laggX'.
|
|
|
|
| |
Reviewed by: pjd
|
|
|
|
|
|
| |
This change allows me to disable -Werror by using NO_WERROR. Right now
I can't build pflogd using Clang, because Clang generates more warnings
when passing -Wall.
|
|
|
|
|
|
|
|
| |
appeared in FreeBSD.
PR: 133785
Submitted by: Ulrich Spoerlein <uqs@spoerlein.net>
MFC after: 3 days
|
|
|
|
| |
since it shortly won't be defined at all.
|
|
|
|
|
|
| |
member names, but we really do mean to use in_aliasreq here.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
- add show as alias for get
- add weights to allow mpath to do more than equal cost
- add sticky / nostick to disable / re-enable per-connection load balancing
This adds a field to rt_metrics_lite so network bits of world will need to be re-built.
Reviewed by: jeli & qingli
|
|
|
|
| |
Submitted by: Christoph Mallon <christoph mallon gmx de>
|
|
|
|
| |
Submitted by: Christoph Mallon <christoph mallon gmx de>
|
|
|
|
| |
Submitted by: Christoph Mallon <christoph mallon gmx de>
|
|
|
|
|
|
| |
when it is not a regular file.
Submitted by: Christoph Mallon <christoph mallon gmx de>
|
|
|
|
|
|
|
| |
fstat(fd, &sb) was not executed unconditionally anymore so sb was read
uninitialised when -C is used.
Submitted by: Christoph Mallon <christoph mallon gmx de>
|
|
|
|
|
|
| |
file (-C) to the requested size.
Submitted by: Christoph Mallon <christoph mallon gmx de>
|
|
|
|
|
|
| |
others.
Submitted by: Christoph Mallon <christoph mallon gmx de>
|
|
|
|
| |
Submitted by: Christoph Mallon <christoph mallon gmx de>
|
|
|
|
| |
Submitted by: Christoph Mallon <christoph mallon gmx de>
|