| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
PR: bin/173140
Approved by: adrian (co-mentor)
|
|
|
|
|
|
|
| |
This reverts r242120
Submitted by: Jan Beich
Approved by: cperciva (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
| |
Tested with make universe
No objections from: stas
Approved by: cperciva
MFC after: 3 days
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
| |
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
|
|
| |
problem with using a msgbox was one of truncation in the case of Xdialog(1)
and lack of screen real-estate (since the msgbox is not scrollable in X11
while a textbox is).
The textbox renders the text much better and is more appropriate for this
type of data display.
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
requests, default to the previous 60-seconds scheduling method
unless there is any @every_second entries to conserve CPU cycles and
power.
This change also improves scheduling in the default mode by running
as close to the beginning of the minnute as possible by replacing
sleep(3) with nanosleep(2). Previously, the tasks would run anywhere
within the first second of the minute and that offset drifted back
and forth each time cron(8) was engaged.
MFC after: 1 month
|
|
|
|
|
|
|
| |
acts like dialog(1) in that it returns exit status 2 when the help button is
chosen.
Approved by: adri (co-mentor) (implicit)
|
|
|
|
|
|
| |
Mark variables static where possible and place the uid/euid variables in
lp.h, so that we can compile-time enforce that these variables have the
same type.
|
|
|
|
|
|
|
|
| |
the current and max link speed.
Sponsored by: Intel
Discussed with: jhb
MFC after: 1 week
|
|
|
|
|
|
| |
Submitted by: KAHO Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
Approved by: secteam (simon)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
errors later on.
PR: bin/172715
Submitted by: Matthew D.Fuller <fullermd@over-yonder.net> (older
version)
Submitted by: dteske
Approved by: cperciva
MFC after: 1 week
|
| |
|
|
|
|
|
| |
Reviewed by: nwhitehorn
Approved by: adrian (co-mentor)
|
|
|
|
|
|
| |
into bsdconfig(8).
Approved by: adrian (co-mentor) (implicit)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
current version of FreeBSD, this isn't guarenteed by the API. Custom
security modules, or future implementations of the setuid and setgid
may fail.
PR: bin/172289
PR: bin/172290
PR: bin/172291
Submittud by: Erik Cederstrand <erik@cederstrand.dk>
Discussed by: freebsd-security
Approved by: cperciva
MFC after: 1 week
|
|
|
|
|
|
|
| |
PR: bin/172490
Submitted by: bdrewery
Approved by: cperciva
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
current version of FreeBSD, this isn't guarenteed by the API.
Custom security modules, or future implementations of the setuid and
setgid may fail.
Submitted by: Erik Cederstrand
Approved by: cperciva
MFC after: 3 days
|
|
|
|
|
| |
Approved by: cperciva
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
be be pkgng users.
Reviewed by: bapt (earlier version)
Reviewed by: kwm
Approved by: cperciva
MFC after: 3 days
|
|
|
|
|
|
|
| |
on by a logical not instead of the entire expression.
Approved by: cperciva
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In addition to adding missing `static' keywords:
- bin/dd: Pull in `extern.h' to guarantee consistency with source file.
- libexec/rpc.rusersd: Move shared globals into an extern.h.
- libexec/talkd: Move `debug' and `hostname' into extern.h.
- usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree.
- usr.bin/m4: Move `end_result' into extern.h.
- usr.sbin/services_mkdb: Move shared globals into an extern.h.
|
|
|
|
|
|
|
| |
Both mfi_flash.c and mfi_show.c contain very similar functions to print
a list of firmwares. Move these routines into mfiutil.c.
Reported by: jhb
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
improve upon the system by giving the user a "Help" button instead of requiring
the user to press F1.
NOTE: In FreeBSD-9 and higher, dialog(1) does not support the F1 hook, so the
mechanism for providing help to the user had to be changed to a button.
This now means we can resurrect *.hlp files from usr.sbin/sysinstall/help/ as-
is and reusing them as-needed in bsdconfig (holding to the goal of losing as
little functionality from sysinstall as possible).
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
|
|
|
|
|
|
| |
function returns zero when $0 is the NULL string).
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
|
|
|
|
| |
Submitted by: Iain Hibbert plunky at rya-online dot net
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GIANT from VFS. In addition, disconnect also netsmb, which is a base
requirement for SMBFS.
In the while SMBFS regular users can use FUSE interface and smbnetfs
port to work with their SMBFS partitions.
Also, there are ongoing efforts by vendor to support in-kernel smbfs,
so there are good chances that it will get relinked once properly locked.
This is not targeted for MFC.
|
|
|
|
|
| |
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
|
|
|
| |
Pointy hat to: sobomax
|
|
|
|
|
| |
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
|
|
|
| |
with the r241649.
|
|
|
|
| |
Requested by: few
|
|
|
|
|
|
|
|
|
|
|
|
| |
GIANT from VFS. In addition, disconnect also netncp, which is a base
requirement for NWFS.
In the possibility of a future maintenance of the code and later
readd to the FreeBSD base, maybe we should think about a better location
for netncp. I'm not entirely sure the / top location is actually right,
however I will let network people to comment on that more specifically.
This is not targeted for MFC.
|
|
|
|
|
|
|
|
|
|
|
|
| |
not multiple of 1 second, which results in actual time to drift back
and forth every run within 1 second of the actual action has
been set for.
Suggested by: Ian Lepore
o Schedule the first run in 1 second after starting up, not on the
boundary of the next minute, which results in the every_second jobs
not being run.
|
| |
|
|
|
|
|
|
| |
GIANT from VFS.
This is not targeted for MFC.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
only available via the new @every_second shortcut. ENOTIME to
implement crontab(5) format extensions to allow more flexible
scheduling.
In order to address some concerns expressed by Terry Lambert
while discussing the topic few years ago, about per-second cron
possibly causing some bad effects on /etc/crontab by stat()ing
it every second instead of every minute now (i.e. atime update),
only check that database needs to be reloaded on every 60-th
loop run. This should be close enough to the current behaviour.
Add "@every_minute" shortcut while I am here.
MFC after: 1 month
|
|
|
|
|
|
|
| |
This is a content change.
Reviewed by: kib
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
execution of the nfsd threads while it is reloading the exports.
This avoids clients from getting intermittent access errors
when the exports are being reloaded non-atomically.
It is not an ideal solution, since requests will back up while
the nfsd threads are suspended. Also, when this option is used,
if mountd crashes while reloading exports, mountd will have to
be restarted to get the nfsd threads to resume execution.
This has been tested by Vincent Hoffman (vince at unsane.co.uk)
and John Hickey (jh at deterlab.net).
The nfse patch offers a more comprehensive solution for this issue.
PR: kern/9619, kern/131342
Reviewed by: kib
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
Replace "( : ${var?} )" syntax with better "[ ${var+set} ]" syntax.
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
|
| |
|