| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Submitted by: Dmitry Luhtionov
|
|
|
|
|
|
| |
PR: docs/148534
Submitted by: Warren Block
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
PR: docs/148535
Submitted by: Warren Block
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it to configure the interface. When the script is complete, dhclient
monitors the routing socket and will terminate if its address is
deleted or if its interface is removed or brought down.
Because the routing socket is already open when dhclient-script is
run, dhclient ignores address deletions for 10 seconds after the
script was run.
If the address that will be obtained is already configured on the
interface before dhclient starts, and if dhclient-script takes more
than 10 seconds (perhaps due to dhclient-*-hooks latencies), on script
completion, dhclient will immediately and silently exit when it sees
the RTM_DELADDR routing message resulting from the script reassigning
the address to the interface.
This change logs dhclient's reason for exiting and also changes the
10 second timeout to be effective from completion of dhclient-script
rather than from when it was started.
We now ignore RTM_DELADDR and RTM_NEWADDR messages when the message
contains no interface address (which should not happen) rather than
exiting.
Not reviewed by: brooks (timeout)
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
| |
directory truncation to proceed before the link has been cleared. This
is accomplished by detecting a directory with no . or .. links and
clearing the named directory entry in the parent.
- Add a new function ino_remref() which handles the details of removing
a reference to an inode as a result of a lost directory. There were
some minor errors in various subcases of this routine.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
for the obsolete sio(4) driver.
PR: docs/144498
Submitted by: Bruce Cran (bruce at cran dot org dot uk)
Approved by: marcel
MFC after: 2 weeks
|
|
|
|
| |
not return the error itself.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
int.
- Use errx(3) instead of err(3) to print the error message on short
reads in readlabel(). errno won't be set on short reads which can
easily occur here due to the fixed size read request.
PR: 144307
Reviewed by: bde
|
|
|
|
|
|
|
|
|
|
| |
need. Close the pidfile. Then close all descriptors >= 3 to avoid
information leakage to children.
This solves the problem of not being able to restart devd when you
have, for example, a dhclient forked to configure your network...
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
- Use err/errx only when the case is really fatal. For other
cases, fall back to full fsck instead of quiting fsck.
- Plug a memory leak.
- Avoid divide by zero when printing summary.
- Output "FILE SYSTEM IS MARKED CLEAN" when a successful
journal recovering is done.
- When -f is specified, do full fsck instead of journal recovery.
|
|
|
|
|
|
|
| |
negative numbers.
Suggested by: ache
Approved by: kib (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move code that converts params from humanized numbers to sectors count
to subr.c and adjust comment.
Add post-processing for "size" and "start offset" params in gpart,
now they are properly converted to sectors count with known sector size
that can be greater that 512 bytes.
Also replace "unsigned long long" type to "off_t" for unify code since
it used for medium size in libgeom(3) and DIOCGMEDIASIZE ioctl.
PR: bin/146277
Reviewed by: marcel (previous version)
Approved by: kib (mentor)
MFC after: 1 month
|
|
|
|
|
|
| |
- ANSIfy prototypes.
- Remove unneeded whitespace.
- Add const keyword to function where it can be used.
|
|
|
|
|
|
|
|
|
| |
Fix some casting errors.
PR: 142384
Submitted by: giffunip at tutopia dot com
Obtained from: NetBSD
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
| |
- remove stray argument [1]
- remove stray whitespace
- use canonical wording for the HISTORY section
PR: docs/147119 [1]
Submitted by: Alexander Best <alexbestms@wwu.de> [1]
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
PR: bin/144730
PR: bin/144974
Submitted by: Earl R. Lapus <earl.lapus at gmail.com>
Approved by: rrs (mentor)
MFC after: 1 month
|
|
|
|
|
| |
Submitted by: Mikolaj Golub <to.my.trociny@gmail.com>
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
Reported by: hiroshi@soupacific.com
Analysed by: Mikolaj Golub <to.my.trociny@gmail.com>
Tested by: hiroshi@soupacific.com, Mikolaj Golub <to.my.trociny@gmail.com>
MFC after: 3 days
|
|
|
|
|
|
| |
Found by: Coverity Prevent
CID: 7057
MFC after: 3 days
|
|
|
|
|
|
| |
Found by: Coverity Prevent
CID: 7056
MFC after: 3 days
|
|
|
|
|
|
| |
Found by: Coverity Prevent
CID: 7051
MFC after: 3 days
|
|
|
|
|
|
| |
Found by: Coverity Prevent
CID: 7052, 7053, 7054, 7055
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
we grow more descriptors, but I'll reconsider readding them once we get there.
Passing (a = b) expression to FD_ISSET() is bad idea, as FD_ISSET() evaluates
its argument twice.
Found by: Coverity Prevent
CID: 5243
MFC after: 3 days
|
|
|
|
|
|
| |
Found by: Coverity Prevent
CID: 5158
MFC after: 3 days
|
|
|
|
|
| |
Found by: clang static analyzer
Verified by: md5(1)
|
|
|
|
|
| |
Found by: clang static analyzer
Found by: Coverity Prevent[tm] (CID 7736, 7760)
|
|
|
|
|
|
|
|
| |
Don't leak memory when deleting param from gctl_req.
Reviewed by: marcel
Approved by: mav (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
- Add information regarding VTOC8 bootrstrap code and how it's handled with
r208777 in place.
- Document the mapping of partition types to VTOC8 tags.
- Add examples for VTOC8 to the respective section.
- Eliminated hard sentence breaks.
Reviewed by: marcel (slightly buggy version)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
file to be of maximum size.
- Add special handling required for SMI/VTOC8 disklabel partcode, i.e. avoid
overwriting the label when writing the bootstrap code to the partition
starting at 0 and install it to all partitions when the -i option is omitted
just like geom_sunlabel(4) and sunlabel(8) do by default.
- Add missing prototypes.
- Add const where applicable.
Reviewed by: marcel
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
mount(8): add xref to devfs(5)
devfs(5): change example to something more likely to be useful (it is not
necessary to mount a devfs on /dev manually, but for chroots/jails it is
often needed), mention since when devfs is preferred to device nodes on ufs
PR: 146600
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
|
|
|
|
|
|
|
| |
Reported by: Mikolaj Golub <to.my.trociny@gmail.com>
- Only require 256k of blocks per-cg when trying to allocate contiguous
journal blocks. The storage may not actually be contiguous but is at
least within one cg.
- When disabling SUJ leave SU enabled and report this to the user. It
is expected that users will upgrade SU filesystems to SUJ and want
a similar downgrade path.
|
| |
|
| |
|
|
|
|
|
| |
Reviewed by: sam
MFC after: 4 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Drop bogus quad_t cast for di_gen, it is a 32bit type
- Print di_gen with leading zeros, to get consistent output
Before this change, amd64 would print:
ino 18 gen 616ca2bd
ino 19 gen ffffffff95c2a3ff
ino 20 gen 25c3a3d5
ino 21 gen 8dc1472
ino 22 gen 3797056b
ino 23 gen 1d47853a
ino 24 gen ffffffff82d26995
After the change
ino 18 gen 616ca2bd
ino 19 gen 95c2a3ff
ino 20 gen 25c3a3d5
ino 21 gen 08dc1472
ino 22 gen 3797056b
ino 23 gen 1d47853a
ino 24 gen 82d26995
PR: bin/139994 (sort of)
Reviewed by: mckusick
|
|
|
|
|
|
|
| |
This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.
Found by: mdocml lint run
Reviewed by: ru
|
|
|
|
|
|
|
|
|
|
|
| |
bottom of the manpages and order them consistently.
GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.
Found by: mdocml lint run
Reviewed by: ru
|
|
|
|
|
|
| |
PR: 145343
Submitted by: Hywel Mallett <hywel@hmallett.co.uk>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
removes the need for stdint.h inclusion.
PR: 146046
Submitted by: Alexander Best <alexbestms@wwu.de>
Reviewed by: kan
MFC after: 1 week
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
- device initiated power management (some devices support only this way);
- Automatic Partial to Slumber Transition (more power saving);
- DMA auto-activation (expected to slightly improve performance).
More features could be added later, when hardware supports.
|
| | |
|