| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
Suggested by: ed
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
No functional change.
Obtained from: OpenBSD (where xlint is no more)
|
|
|
|
|
|
| |
Differential Revision: D3350
Reviewed by: ed
Approved by: bapt (mentor)
|
|
|
|
|
|
|
|
| |
by jmg@.
Reviewed By: pfg
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D3353
|
|
|
|
|
|
| |
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3356
|
|
|
|
|
|
|
| |
The MK_NIS subdirs were leftovers from r212558 and kdump/truss were
introduced in r240404.
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
by the Makefile.
|
|
|
|
|
|
| |
control to turn it off and it wasn't being respected.
Pointed out by: gshapiro
|
| |
|
|
|
|
|
|
| |
fixes and quality of life improvements.
While there are security issues in this time frame that affect usage as a
server (eg: linked into apache), this isn't possible here.
|
|
|
|
| |
if it were, use shm_* instead of sysvshm.
|
| |
|
|
|
|
|
|
|
|
| |
PR: 202152
Submitted by: jbeich (original), Nikolai Lifanov (final)
Reviewed by: jbeich
Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D3330
|
|
|
|
|
|
|
|
|
|
| |
in units(1). The most visible is the removal of libedit warnings
about being unable to open termcap database.
Reviewed by: eadler@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3322
|
|
|
|
| |
Pointed out by: Nikolai Lifanov <lifanov at mail.lifanov.com>
|
|
|
|
| |
o Describe the file formats mkimg can create.
|
|
|
|
|
|
| |
Rename domain to domainname to be identical to the man page.
Reported by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
is taken to match the geometry and only when the geometry is max'd
out, is the actual recorded size taken.
Note that qemu has the same logic for the fixed VHD format. However
that is known to conflict with Microsoft Azure, where the recorded
size of the image is what counts.
Pointed out by: gjb@
|
|
|
|
|
| |
Differential Revision: D3295
Reviewed by: bapt
|
|
|
|
|
| |
when pretty-printing structures. Most structures used both spaces,
but some only used a trailing space and some used neither.
|
|
|
|
| |
wrap long lines.
|
|
|
|
|
|
|
|
|
|
|
|
| |
especially useful now that libc's open() always calls openat(). While here,
fix a few other things:
- Decode the mode argument passed to access(), eaccess(), and faccessat().
- Decode the atfd paramete to pretty-print AT_FDCWD.
- Decode the special AT_* flags used with some of the *at() system calls.
- Decode arguments for fchmod(), lchmod(), fchown(), lchown(), eaccess(),
and futimens().
- Decode both of the timeval structures passed to futimes() instead of just
the first one.
|
|
|
|
| |
to mknod().
|
|
|
|
| |
always decoded. Previously the argument was not decoded if fcntl() failed.
|
|
|
|
|
|
| |
kevent filters, kevent flags, flags to mmap, seek locations, fcntl
operations, file flags, socket domains, open flags, resource limits, and
pathconf values.
|
|
|
|
|
|
|
|
|
|
| |
tightening sanity check of the input. [1]
While I'm there also replace ed(1) with red(1) because we do
not need the unrestricted functionality. [2]
Obtained from: Bitrig [1], DragonFly [2]
Security: CVE-2015-1418 [1]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the resulting argument is longer than MAXPATHLEN, realloc() was called to
extend the space, but the new pointer was not correctly stored.
Different from what OpenBSD has done, rewrite brace_subst() to calculate the
necessary space first and realloc() at most once.
As before, the e_len fields are not updated in case of a realloc.
Therefore, a following long argument will do another realloc.
PR: 201750
MFC after: 1 week
|
|
|
|
|
|
|
| |
length. In particular, instead of blinding fetching 1k blocks, do an initial
fetch up to the end of the current page followed by page-sized fetches up to
the maximum size. Previously if the 1k buffer crossed a page boundary and
the second page was not valid, the entire operation would fail.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 199976
Submitted by: Nikolai Lifanov <lifanov@mail.lifanov.com>
Reviewed by: mjg, bjk
Approved by: bapt (mentor)
MFC after: 1 month
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D2616
|
|
|
|
|
|
|
| |
Staticization usage() and printit().
Fix the usage of err(3).
Reviewed by: bde
|
|
|
|
|
|
|
| |
Some developers consider the new code unnecessarily obfuscated.
There was also a benign off-by-one.
Discussed with: bde, vangyzen, jmallett
|
|
|
|
|
|
|
|
|
|
| |
Sync the code with the OpenBSD version.
Small style(9) fix up.
Differential Revision: D3212
Reviewed by: rodrigc, bapt
Obtained from: OpenBSD
Sponsored by: gandi.net
|
|
|
|
|
|
|
|
|
| |
Sync the code with the OpenBSD version.
Differential Revision: D3213
Reviewed by: rodrigc, bapt
Obtained from: OpenBSD
Sponsored by: gandi.net
|
|
|
|
| |
Obtained from: DragonFlyBSD
|
| |
|
|
|
|
|
| |
Approved by: delphij (mentor)
Differential Revision: https://reviews.FreeBSD.org/D3265
|
|
|
|
|
|
|
| |
- Add myself to the calendar.freebsd.
Approved by: delphij (mentor)
Differential Revision: https://reviews.FreeBSD.org/D3265
|
|
|
|
|
| |
Change file file to file1 file2, partly for igor, and partly because
it's odd to pass the same file to a command twice..
|
|
|
|
|
|
|
|
|
|
| |
Revert r286102 and apply a cleaner fix.
Tested for overflows by FORTIFY_SOURCE GSoC (with clang).
Suggested by: bde
Reviewed by: Oliver Pinter
Tested by: Oliver Pinter
MFC after: 3 days
|
|
|
|
| |
Approved by: jmg
|
|
|
|
|
|
|
|
|
|
| |
This affected syslogd, wall and talkd.
Detected by FORTIFY_SOURCE GSoC (with clang).
Submitted by: Oliver Pinter
Differential Revision: https://reviews.freebsd.org/D3254
Reviewed by: delphij, jmg
MFC after: 3 days
|
|
|
|
|
|
| |
PR: 118292
Submitted by: araujo
Differential Revision: D2669
|
|
|
|
|
|
| |
from header files.
Differential Revision: D2669
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy,
but does not currently support PE output which is needed for building
x86 UEFI bits.
Add a src.conf knob to allow installing it as objcopy and set it by
default for aarch64 only, where we don't have a native binutils.
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2887
|
|
|
|
|
|
|
| |
Reported by: jhibbits
Reviewed by: jhibbits
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3237
|