| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include sys/time.h instead of time.h. This include is incorrect as
per the manpages for the APIs and the POSIX definitions. This commit
replaces sys/time.h where necessary with time.h.
The commit also includes some minor style(9) header fixup in newfs.
This commit is part of a larger effort by Garrett Cooper started in
//depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more
POSIX compliant.
Submitted by: Garrett Cooper yanegomi at gmail dot com
|
|
|
|
|
| |
Approved by: colin@
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checking if it is > 0 doesn't make sense, because snprintf returns
how much space is needed if the buffer is too small. Instead, check
if the return value was greater than the buffer size, and truncate
the message if it was too long.
It isn't clear if snprintf can return a negative value in the case
of an error - I don't believe it can. If it can, then testing
v->iov_len won't help 'cos it is a size_t, not an ssize_t.
Also, as clang points out, we must always increment v here, because
later code depends on the message being in iov[5].
|
| |
|
|
|
|
|
|
|
| |
make it more relevant to modern systems: for example users will be
familiar with the MBR but possibly less so with MS-DOS.
After installation has finished don't return to the main menu but exit.
|
|
|
|
| |
Discussed with: core [1]
|
| |
|
|
|
|
| |
probably be modified to use libdialog.
|
|
|
|
| |
Reviewed by: brueffer@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.
__FreeBSD_version is now 900030.
Discussed on: -current
Approved by: core
Obtained from: http://invisible-island.net/dialog
|
|
|
|
|
|
|
|
| |
the root / user passwords
PR: bin/152868
Submitted by: kmoore
Approved by: imp
|
|
|
|
|
|
| |
PR: bin/151967
Submitted by: kmoore
Approved by: imp
|
|
|
|
|
|
|
|
| |
Fix path problem that was preventing disk info from being in the log.
PR: bin/151968
Submitted by: Kris Moore <kmoore@FreeBSD.org>
Approved by: imp
|
|
|
|
|
|
| |
PR: bin/152894
Submitted by: Kris Moore <kmoore@FreeBSD.org>
Approved by: imp
|
|
|
|
|
| |
Submitted by: nwhitehorn
Approved by: imp
|
|
|
|
| |
Noticed by: Boris Kochergin <spawk acm poly edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.
MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could. Since its presence doesn't affect the
working cases, I've kept it in for now.
Added mips64e[lb] to make universe, so more kernels build.
And I think this (finally) closes the curtain on the tbemd tree.
|
|
|
|
|
|
| |
prefixes are the same.
Suggested by: "Carlos A. M. dos Santos" <unixmania@gmail.com>
|
|
|
|
|
|
|
| |
if ioctl(4) is failed besides the command number.
Suggested by: delphij
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
information in errno.
Noted by: Garrett Cooper <yanegomi gmail com>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
Style.
Based on submission by: Eitan Adler <lists eitanadler com>, keramida
Reviewed by: jhb, keramida
MFC after: 1 week
|
|
|
|
| |
functions.
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
thing with empty quotation macros.
Requested by: Alex Kozlov
|
| |
|
|
|
|
|
|
| |
PR: bin/153362
Submitted by: Joe Holden <joe rewt org uk>
MFC after: 1 month
|
|
|
|
| |
and catch up on a few from previous releases.
|
| |
|
|
|
|
|
| |
bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to
pass proper include path flags to gensnmptree.
|
|
|
|
|
|
|
|
|
| |
- Provide function prototype for nlm_syscall
- Don't assign a variable from the stack to a global var[1]
- Remove unused vars
Found by: clang static analyser [1]
Reviewed by: dfr
|
|
|
|
|
|
| |
Slight style(9) improvments
- function definitions
- sort #include
|
|
|
|
| |
which have char == unsigned char
|
|
|
|
|
|
| |
`vga' cannot be less than 0x3f when reaching the check.
Coverity Prevent: CID 5196
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Reviewed by: philip
Approved by: philip
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is done to speed up extraction significantly (both for portsnap
extract and update) in the case of slow NSS modules (like nss_ldap) as
it avoids having to look up uid and gid for root / wheel.
The reason this is a bigger problem for portsnap than for many other
system operations, is that portsnap executes tar(1) once for each port
so the internal uid/gid caching in tar(1) only helps a bit, resulting
in many user lookup calls.
Discussed with: cperciva
|
| |
|
| |
|
| |
|
|
|
|
| |
while here.
|
|
|
|
| |
required.
|
|
|
|
| |
upstream. For the same reason rewrite bsd_get_seqnum.
|
| |
|
|
|
|
|
| |
value checks for 2 ioctl calls and rewrite error handling in bsd_init
to better integrate with upstream code.
|
| |
|
|
|
|
| |
here remove some explicit line breaks.
|
| |
|