bapt
e5fca3f7cb
Simplify the code by using the new gr_add function
2012-12-27 14:35:06 +00:00
dteske
29c6e27591
Comments and fit to 80-columns.
2012-12-27 07:52:50 +00:00
bapt
219a9acfae
Simplify copying of group members by using memcpy
...
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
2012-12-26 23:16:24 +00:00
bapt
bc1ecc20ad
Fix off-by-one error in memory allocation: j entries, one new and a null
...
terminator is j + 2.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
2012-12-26 23:14:33 +00:00
bapt
13dabd466a
In case of the deletion of a user those whole database has to be regenerated,
...
otherwise the user planned to be deleted remain in the pwd.db while removed from
the plain text password file.
2012-12-26 18:28:17 +00:00
bapt
d1e0080a5e
Fix creating a user and adding it to a group
...
Reported by: "Sam Fourman Jr." <sfourman@gmail.com>, dim
2012-12-26 18:14:45 +00:00
rmacklem
9b46c215ce
Attempt to clarify that for ZFS, all file systems under
...
the NFSv4 root must be exported. This is because ZFS
checks exports itself.
This is a content change.
MFC after: 2 weeks
2012-12-25 22:47:49 +00:00
rmacklem
c9aa765acd
Attempt to clarify that for ZFS, all file systems under
...
the NFSv4 root must be exported. This is because ZFS
checks exports itself.
This is a content change.
MFC after: 2 weeks
2012-12-25 22:34:43 +00:00
dteske
aa703b25c0
Add more debugging to help with diagnosis of program-flow when needed.
2012-12-25 10:47:45 +00:00
dteske
2646f7c5d8
Remove unnecessary duplicate initialization of the dialog(1) API (automatically
...
bootstrapped on-include unless DIALOG_SELF_INITIALIZE is set to NO before-hand)
2012-12-25 09:30:25 +00:00
matthew
7653472013
Remove extraneous space and new-line.
...
Submitted by: pjd, gcooper
Approved by: bapt
MFC after: 2 weeks
2012-12-23 20:39:03 +00:00
rmacklem
7f6288fb8f
Fix the Makefile so it can build gssd.c after r244604.
...
MFC after: 2 weeks
2012-12-23 20:12:57 +00:00
matthew
2fa689448c
Third time's the charm. pkg -N output needs to go to stderr.
...
Approved by: bapt
MFC after: 2 weeks
2012-12-23 11:22:18 +00:00
rmacklem
91970c8a6b
Document the new gssd daemon options added by r244604.
...
This is a content change.
MFC after: 2 weeks
2012-12-22 23:34:28 +00:00
rmacklem
a6089b3588
It was reported via email that some sshds create kerberos
...
credential cache files with names other than /tmp/krb5cc_<uid>.
The gssd daemon does not know how to find these credential caches.
This patch implements a new option "-s" that does a search for
credential cache files, using roughly the same algorithm as the
gssd daemon for Linux uses. The gssd behaviour is only changed
if the new "-s" option is specified. It also implements two other
new options related to the "-s" option.
Reported by: Piete.Brooks at cl.cam.ac.uk, Herbert Poeckl
Tested by: Herbert Poeckl (admin at ist.tugraz.at), Illias A. Marinos
MFC after: 2 weeks
2012-12-22 23:21:17 +00:00
matthew
45679ebc7b
Switch from 'pkg -n' to 'pkg -N' as the test for pkgn activation
...
status. '-n' is already used extensively elsewhere in pkgng (to mean
'dry-run') and this reduces the potential confusion
Submitted by: eadler
Approved by: bapt
MFC after: 2 weeks
2012-12-22 15:13:16 +00:00
andrew
be1bdf30b6
Add the missing '$' from the LIBNETBSD variable
2012-12-22 04:53:35 +00:00
dteske
777c7fa05d
Split dialog(1)-based validators for hostname/netmask into two, providing
...
transparent validators that can be used free of dialog(1) where needed.
Syntax/return of the original dialog(1)-based validators remains unchanged.
2012-12-21 21:33:47 +00:00
dteske
ddf809931f
Remove unused include.
2012-12-21 21:03:34 +00:00
brooks
c93a4f7a86
Add NetBSD's mtree to the tree and install it as nmtree as the first step
...
towards replacing our mtree.
Sponsored by: DARPA, AFRL
Thanks to: cristos@NetBSD for reviewing and committing my patches
wiz@NetBSD for fixing typos in my patches
2012-12-21 21:00:00 +00:00
dteske
9f0941e667
Change axiom for initialization. Including script can disable (default)
...
automatic initialization by setting appropriate variable to particular value.
2012-12-21 20:46:58 +00:00
dteske
2bedb4fa3d
Remove erroneous use of "local" (not in a function).
2012-12-21 20:36:12 +00:00
dteske
ea3604ca08
New f_show_info() function for dialog(1) --infobox using printf(1) syntax.
2012-12-21 20:29:28 +00:00
dteske
9edf4bc88d
Use f_show_help() where printf(1) syntax is desired.
2012-12-21 20:11:41 +00:00
matthew
0a2c07efd7
In preparation for making 'pkg -n' the one true method of determining
...
whether a system has been configured to use pkgng, cause /usr/sbin/pkg
recognise a -n option and exit with a failure code when the pkg port
is not installed.
Approved by: bapt
MFC after: 2 weeks
2012-12-21 20:01:13 +00:00
dteske
10fd5103d0
Improve the debugging abilities and clean up debug messages. In most cases,
...
all one has to do is set the environment variable DEBUGGING to get the debug
messages to appear on the console.
2012-12-21 19:26:17 +00:00
dteske
5e7ea05b1a
Add much-needed dialog(1) --inputbox function for simplifying the process of
...
requesting input from the user.
2012-12-21 18:58:19 +00:00
kevlo
804c67a486
Fix socket calls on error post-r243965.
...
Submitted by: Garrett Cooper
2012-12-21 15:54:13 +00:00
neel
13949c50fa
Divine the array size by using 'nitems(array)' instead of using magic numbers.
...
Suggested by: Garrett Cooper
2012-12-21 04:44:40 +00:00
neel
8bbd053d88
The MPtable specification allows for an 8-bit "BUS ID" and "I/O APIC ID".
...
Since the 'busses[]' and 'apics[]' arrays are indexed by these 8-bit IDs
make sure that they have enough space to accomodate up to 256 entries.
Submitted by: Ravi Shamanna
Obtained from: NetApp
2012-12-21 01:31:56 +00:00
neel
0bf1055199
Teach acpidump to dump the DMA Remapping Reporting table (aka DMAR).
...
The DMAR table is documented in chapter 8 of the Intel VT-d specification.
Reviewed by: jhb
Obtained from: NetApp
2012-12-21 01:19:48 +00:00
markj
6edca3394d
- Make sure that errno isn't modified before calling logerror() in error
...
conditions.
- Don't check for AF_INET6 when compiled without INET6 support.
PR: bin/173930
Submitted by: Garrett Cooper <yanegomi@gmail.com>
Approved by: rstone (co-mentor)
MFC after: 1 week
2012-12-20 23:21:20 +00:00
grehan
5bbdfeda58
Change thread name for the main kqueue event loop to "<vmname> mevent" so
...
it can be easily distinguished from other non-vCPU threads in forthcoming
changes.
Obtained from: NetApp
2012-12-20 23:01:53 +00:00
rmacklem
532583ce14
Post r243965 the nfsd daemon will not start up for kernels
...
built without "options INET6". This patch fixes the problem.
Reported by: avg
Tested by: avg
MFC after: 2 weeks
2012-12-19 21:00:22 +00:00
rmacklem
a7212cb708
Fix the gssd daemon so that it uses syslog() to report
...
an error instead of calling err() when it is daemonized,
so that the error gets logged.
Discussed with: rwatson, jhb
Tested by: Illias A. Marinos, Herbert Poeckl
MFC after: 2 weeks
2012-12-17 00:31:55 +00:00
eadler
ba44c5a926
Minor wording improvments to some manual pages
...
Approved by: bcr (mentor)
Obtained from: DragonflyBSD (a5294ca835317c68c919ab43936da4f05ab6e926)
MFC after: 3 days
2012-12-16 23:00:13 +00:00
trociny
fa6bd7906a
Change iostat -Ix
to display total duration of transactions instead
...
of average duration, and total busy time instead of %.
This looks more useful when one runs `iostat -Ix` periodically to
collect statistics: e.g. now it is possible to calculate busy %
between two runs subtracting total busy times and dividing per time
period.
Average duration and % busy are still available via `iostat -x`.
2012-12-15 18:21:09 +00:00
grehan
70b50f1646
Rename fbsdrun.* -> bhyverun.*
...
bhyve is intended to be a generic hypervisor, and not FreeBSD-specific.
(renaming internal routines will come later)
Reviewed by: neel
Obtained from: NetApp
2012-12-13 01:58:11 +00:00
alfred
ed59b019d4
Change progress indicator for downloading patches.
...
Use a percent style indicator instead of emitting one
long line of patch numbers.
2012-12-13 01:39:49 +00:00
grehan
56990e9146
Properly reset the tx/rx rings when a guest requests a device reset.
...
Obtained from: NetApp
2012-12-12 19:45:36 +00:00
grehan
da36959339
Create unique MAC addresses for virtio devices that are
...
created with non-zero PCI function numbers.
Remove obsolete reference to CFE.
Obtained from: NetApp
2012-12-12 19:25:48 +00:00
delphij
a23c0ad41d
Add -R, an option to restart all enabled "local" services.
...
Discussed on: -rc@ (in September)
MFC after: 2 months
2012-12-12 01:50:58 +00:00
gjb
3919fe3091
Add missed BETA* to list.
...
Approved by: simon (implicit)
MFC after: 3 days
X-MFC-With: r244058
2012-12-09 22:55:51 +00:00
gjb
972c593040
Get 'uname -r' earlier, so it can be used to determine what branch is
...
being run to set BSDINSTALL_DISTSITE accordingly. This change allows
non-RELEASE branches to use the FTP snapshots directory for bootonly.iso
installations.
Approved by: simon
2012-12-09 22:53:53 +00:00
eadler
9860195389
A number of places in the source tree still reference cuad.* after
...
sio(4) was deprecated by uart(4).
s/cuad/cuau/g/
PR: docs/171533
Reviewed by: imp
Approved by: cperciva (implicit)
MFC after: 3 weeks
2012-12-08 22:16:36 +00:00
grehan
ad362d1440
Determine the correct length and sector size for raw devices.
...
Obtained from: NetApp
Tested by: Michael Dexter with iscsi LUNs
2012-12-08 02:37:18 +00:00
bapt
3b0b9fa5f9
remove redundant yyparse declarations
...
PR: conf/174079
Submitted by: Garrett Cooper <yanegomi@gmail.com>
2012-12-05 20:28:44 +00:00
hrs
377b89c55f
- Move definition of V_deembed_scopeid to scope6_var.h.
...
- Deembed scope id in L3 address in in6_lltable_dump().
- Simplify scope id recovery in rtsock routines.
- Remove embedded scope id handling in ndp(8) and route(8) completely.
2012-12-05 19:45:24 +00:00
eadler
3b3a43cfae
Simplify string duplication: use strdup instead of malloc + strcpy
...
Submitted by: db
Approved by: cperciva
MFC after: 2 weeks
2012-12-05 13:56:56 +00:00
eadler
dff4ef46f6
Avoid overflowing the file buffer
...
Submitted by: db
Approved by: cperciva
MFC after: 2 weeks
2012-12-05 13:56:52 +00:00