| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Make the message about a missing MTREEFILE combined with -U
more informative
|
|
|
|
|
| |
Just use ulog_getutxuser() to obtain lastlog records or ulog_getutxent()
to browse through all of them.
|
|
|
|
|
| |
Looking at the other entries, I suspect we must also reserve one
terminating byte, so I'm using UNAME_FIELD_LEN - 1, not UNAME_FIELD_LEN.
|
|
|
|
|
|
| |
MAXLOGNAME seems more applicable in this case, because UT_NAMESIZE
refers to the username field in utmp files, which is clearly unrelated
to repquota(8).
|
|
|
|
|
|
| |
The size of the username record in utmp files should not influence the
maximum username length. Right now ut_user/ut_name is big enough, so in
this case it's dead code anyway.
|
|
|
|
|
|
|
| |
refreshing the list of pf tables.
OKed by: philip
MFC after: 1 week
|
|
|
|
|
| |
So _exit() in the bottom of this function should be called with the
same case.
|
|
|
|
| |
r14262).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
add reference to exports(5), since that's the obvious starting point
for searching for this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
protocol flaw. [09:15]
Correctly handle failures from unsetenv resulting from a corrupt
environment in rtld-elf. [09:16]
Fix permissions in freebsd-update in order to prevent leakage of
sensitive files. [09:17]
Approved by: so (cperciva)
Security: FreeBSD-SA-09:15.ssl
Security: FreeBSD-SA-09:16.rtld
Security: FreeBSD-SA-09:17.freebsd-udpate
|
|
|
|
| |
Reviewed by: jamie
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
environments.
Please note that this can't be done while such processes run in jails.
Note: in future it would be interesting to find a way to do that
selectively for any desired proccess (choosen by user himself), probabilly
via a ptrace interface or whatever.
Obtained from: Sandvine Incorporated
Reviewed by: emaste, arch@
Sponsored by: Sandvine Incorporated
MFC: 1 month
|
|
|
|
|
|
| |
fifolog_reader.
Approved by: trasz (mentor)
|
| |
|
|
|
|
|
|
|
| |
structure replication and improve manteneability.
Reviewed by: jhb, imp
Tested by: Riccardo Torrini <riccardo at torrini dot org>
|
|
|
|
|
| |
TEKEN_XTERM is now gone. Because we always use xterm mode now, we only
need a TEKEN_CONS25 switch to go back to cons25.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Right now syscons(4) uses a cons25-style terminal emulator. The
disadvantages of that are:
- Little compatibility with embedded devices with serial interfaces.
- Bad bandwidth efficiency, mainly because of the lack of scrolling
regions.
- A very hard transition path to support for modern character sets like
UTF-8.
Our terminal emulation library, libteken, has been supporting
xterm-style terminal emulation for months, so flip the switch and make
everyone use an xterm-style console driver.
I still have to enable this on i386. Right now pc98 and i386 share the
same /etc/ttys file. I'm not going to switch pc98, because it uses its
own Kanji-capable cons25 emulator.
IMPORTANT: What to do if things go wrong (i.e. graphical artifacts):
- Run the application inside script(1), try to reduce the problem and
send me the log file.
- In the mean time, you can run `vidcontrol -T cons25' and `export
TERM=cons25' so you can run applications the same way you did before.
You can also build your kernel with `options TEKEN_CONS25' to make all
virtual terminals use the cons25 emulator by default.
Discussed on: current@
|
|
|
|
|
|
| |
This will make it more easy for people to experiment with TERM=xterm.
Instead of echoing these strange escape sequences, I can just instruct
them to run `vidcontrol -T xterm'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
offer to install an SMP kernel. The way this worked was: on supported
platforms, code to read ACPI tables and BIOS MP tables was compiled into
sysinstall, and if an SMP kernel config was present in the source tree when
sysinstall was built, code that called it was also compiled. Since we
haven't had SMP kernel configs in years, the latter was never compiled and
the former never ran.
This only removes dead and unreachable code; it does *not* remove the NCpus
variable, nor the code that sets it to 1, nor the code that asks the user to
select a kernel from a list.
Discussed with: re@, randi@ and others
|
|
|
|
|
|
|
|
| |
from reading crashinfo output, which could contain some sensitive
information.
Reviewed by: jhb
MFC after: 1 week
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
- Cleanup unnecessary local variables in zdump.
- Fix man-page
MFC after: 1 week
|
|
|
|
| |
Submitted by: Ulrich Spoerlein
|
|
|
|
|
|
| |
PR: 139605
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Mikolaj Golub to my trociny of gmail
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: Ronald Klop, trhodes
Note to self: don't do commits while half-asleep
|
|
|
|
|
| |
Submitted by: randi
MFC after: 1 month
|
|
|
|
|
|
| |
- Add examples to the man-page.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
results in the first ethernet interface with physical link being selected.
While here, fix a minor typo causing an 'if' to be missed.
Submitted by: randi
|
|
|
|
|
|
|
| |
now can run "tzsetup -r" which will reinstall the last choice. This
data is recorded in /var/db/zoneinfo.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
UTC" is answered as No, it would abort without properly ending the
dialog session.
MFC after: 1 week
|
| |
|
|
|
|
| |
Reported by: bz
|
|
|
|
|
| |
Submitted by: Jille Timmermans <jille quis cx>
MFC after: 1 week
|
|
|
|
|
| |
PR: docs/139447
Submitted by: Guido Falsi mad at madpilot dot net
|
|
|
|
|
|
|
|
|
| |
non-interactive mode. Previously error messages were printed only in
interactive mode.
PR: bin/124517
Approved by: trasz (mentor)
MFC after: 1 month
|
|
|
|
|
|
| |
PR: standards/129554
Tested by: Steve Kargl
MFC after: 1 week
|
|
|
|
|
| |
Tripped over by: too many people to count
MFC after: 1 month
|
|
|
|
| |
install apm(8) and apm_bios.h on amd64.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just take keyent_t to use an u_int to store the Unicode codepoints.
Unfortunately the keymap is now too big to be loaded using an ioctl
argument, so change the ioctl to pick a pointer.
This change breaks kbdcontrol ABI. It doesn't break X11, because X11
doesn't do anything with syscons keymaps. It just switches the device
out of K_XLATE.
Obtained from: //depot/user/ed/newcons/...
|
|
|
|
|
| |
Submitted by: Alexey Savartsov <asavartsov gmail com>
PR: bin/138580
|
| |
|
|
|
|
|
|
| |
the -F flag.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
automatic link-local address configuration:
- Convert a sysctl net.inet6.ip6.accept_rtadv to one for the
default value of a per-IF flag ND6_IFF_ACCEPT_RTADV, not a
global knob. The default value of the sysctl is 0.
- Add a new per-IF flag ND6_IFF_AUTO_LINKLOCAL and convert a
sysctl net.inet6.ip6.auto_linklocal to one for its default
value. The default value of the sysctl is 1.
- Make ND6_IFF_IFDISABLED more robust. It can be used to disable
IPv6 functionality of an interface now.
- Receiving RA is allowed if ip6_forwarding==0 *and*
ND6_IFF_ACCEPT_RTADV is set on that interface. The former
condition will be revisited later to support a "host + router" box
like IPv6 CPE router. The current behavior is compatible with
the older releases of FreeBSD.
- The ifconfig(8) now supports these ND6 flags as well as "nud",
"prefer_source", and "disabled" in ndp(8). The ndp(8) now
supports "auto_linklocal".
Discussed with: bz and jinmei
Reviewed by: bz
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than writing out a MID of '0', write a MID of 0x86 (aka
MID_I386) so that file gets it right.
This is a nop for boot2. It just checks the MAGIC part of the field,
ignoring the MID. boot2 is the only thing that loads this file, and
only on x86 so the MID_i386 is always the right value (the rest of the
code is already x86 specific).
Reviewed by: bde@, jhb@
MFC after: 8.0 is out the door :)
|