| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
for the convenience of rc.d. Now it has happily lived there for quite
a while. So move the pkill(1) source files from usr.bin to bin, too.
Approved by: gad
Notes:
svn path=/head/; revision=182543
|
|
|
|
|
|
|
|
|
| |
Manpages are updated accordingly.
Tested by: Diego Sardina <siarodx at gmail dot com>
Notes:
svn path=/head/; revision=182542
|
|
|
|
|
|
|
|
|
|
| |
matching socket by dropping it before udp6_append(), and remove
duplicate unlocks of udbinfo and inpcb in sysctl return path.
MFC after: 3 days
Notes:
svn path=/head/; revision=182537
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=182531
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The syscons code disabled scroll lock inside sc_cnputs() if it's going
to print a system message. The code currently wants to process any TTY
output data as well, but we cannot do this, because the TTY lock is a
sleep mutex, while cnputs() picks up a spin mutex.
Disable the code for now. It solves a panic when a console message is
printed while scroll lock is enabled. One solution would be to
initialize a task structure here.
Reported by: Paul B. Mahol <onemda gmail com>
Notes:
svn path=/head/; revision=182527
|
|
|
|
|
|
|
|
|
|
|
| |
- Set U/L bit of generated ethernet address to 1 to not
clash with Atmel assigned addresses.
Suggested by: yar
Approved by: kib (mentor)
Notes:
svn path=/head/; revision=182524
|
|
|
|
|
|
|
| |
While there, make use of the DEFAULT_VECTOR variable.
Notes:
svn path=/head/; revision=182523
|
|
|
|
| |
Notes:
svn path=/head/; revision=182518
|
|
|
|
|
|
|
| |
Obtained from: Joerg Sonnenberger
Notes:
svn path=/head/; revision=182517
|
|
|
|
|
|
|
| |
Significant performance improvements, better quoting of file names, etc.
Notes:
svn path=/head/; revision=182516
|
|
|
|
|
|
|
|
|
| |
its reference files when you don't specify -r. It now checks
a couple of likely nearby directories to see if any of them
have a particular known file.
Notes:
svn path=/head/; revision=182515
|
|
|
|
|
|
|
| |
other why this seems to be broken with my phone...
Notes:
svn path=/head/; revision=182507
|
|
|
|
|
|
|
|
|
|
|
|
| |
from umodem and ufoma.
With these changes, umodem kinda works for me now. It certainly gets
past the "tip" bug that I found earlier where 115200 wasn't a valid
baud rate. This was "broken" in the mpsafetty commit, but in reality,
umodem was always broken.
Notes:
svn path=/head/; revision=182506
|
|
|
|
|
|
|
|
| |
ENOTTY. Also, make the ucom callback structure easier to read while
I'm here.
Notes:
svn path=/head/; revision=182505
|
|
|
|
|
|
|
|
| |
skelton ioctl handler has decayed beyond usefulness in both of these
drivers.
Notes:
svn path=/head/; revision=182504
|
|
|
|
| |
Notes:
svn path=/head/; revision=182503
|
|
|
|
|
|
|
|
|
|
| |
When I imported the MPSAFE TTY code, I added the -p flag to sh(1)'s
ulimit, but I forgot to document it in the appropriate manual page.
Requested by: stefanf
Notes:
svn path=/head/; revision=182489
|
|
|
|
|
|
|
|
|
|
|
|
| |
translation. It turns out this is useful for applications which require
source port randomization for security (i.e. dns servers).
Discussed with: secteam
Requested by: mlaier
MFC after: 2 weeks
Notes:
svn path=/head/; revision=182488
|
|
|
|
| |
Notes:
svn path=/head/; revision=182487
|
|
|
|
| |
Notes:
svn path=/head/; revision=182486
|
|
|
|
| |
Notes:
svn path=/head/; revision=182485
|
|
|
|
| |
Notes:
svn path=/head/; revision=182484
|
|
|
|
|
|
|
| |
doesn't make exceptions unrecoverable.
Notes:
svn path=/head/; revision=182483
|
|
|
|
|
|
|
| |
since usb has no business including it like it did...
Notes:
svn path=/head/; revision=182481
|
|
|
|
| |
Notes:
svn path=/head/; revision=182480
|
|
|
|
|
|
|
| |
it in the usb code.
Notes:
svn path=/head/; revision=182479
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
errata of USIII and beyond (USIII erratum #19, USIII+ erratum #1,
USIIIi erratum #1).
- Use the cheetah PA mask in {d,i}tlb_va_to_pa_sun4u() for USIII
and beyond. This is done so that these functions will still mask
the debug bits of spitfire-class CPUs once we increase TD_PA_BITS
to match the number of bits used for the PA by cheetah-class CPUs.
- Change {d,i}tlb_enter_sun4u() to also set TLB_CTX_KERNEL as the
context of the mappings entered. This is more or less cosmetic as
TLB_CTX_KERNEL is 0.
- Now that we have to distinguish between different sun4u CPUs in
the loader anyway, no longer do trial and error when reading the
portid property.
Notes:
svn path=/head/; revision=182478
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
first one. U-boot, for example, uses the second register to store
MAC.[1]
- Use random MAC address if none configured instead of failing.
Submitted by: Bjorn Konig <bkoenig@alpha-tierchen.de> [1]
Reviewed by: imp
Approved by: kib (mentor)
MFC after: 1 week
Notes:
svn path=/head/; revision=182477
|
|
|
|
|
|
|
|
| |
Approved by: kib (mentor)
MFC after: 1 week
Notes:
svn path=/head/; revision=182476
|
|
|
|
|
|
|
| |
tri-state variable.
Notes:
svn path=/head/; revision=182475
|
|
|
|
|
|
|
|
|
|
|
| |
lock tracking and checks, doing just the former ones.
- Fix a bug where sysctl utility was printing crazy values when setting a
new value for debug.witness.watch [0]
[0] Reported by: yongari
Notes:
svn path=/head/; revision=182473
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- In the current design, when a TTY decreases its baud rate, it tries to
shrink the queues. This may not always be possible, because it will
not free any blocks that are still filled with data.
Change the TTY queues to store a `quota' value as well, which means it
will not free any blocks when changing the baud rate, but when placing
blocks back into the queue. When the amount of blocks exceeds the
quota, they get freed.
It also fixes some edge cases, where TIOCSETA during read()/
write()-calls could actually make the queue a tiny bit bigger than in
normal cases.
- Don't leak blocks of memory when calling TIOCSETA when the device
driver abandons the TTY while allocating memory.
- Create ttyoutq_init() and ttyinq_init() to initialize the queues,
instead of initializing them by hand. The new TTY snoop driver also
creates an outq, so it's good to have a proper interface to do this.
Obtained from: //depot/projects/mpsafetty/...
Notes:
svn path=/head/; revision=182471
|
|
|
|
|
|
|
| |
This is much stronger than just asserting that it's not zero.
Notes:
svn path=/head/; revision=182470
|
|
|
|
|
|
|
|
|
|
|
| |
anholt thinks that he added this check as part of some regression testing,
but it is failing at least some of the time. I don't want to remove it
just yet. I added a bit of debugging to help identify the issue.
Approved by: kib
Notes:
svn path=/head/; revision=182469
|
|
|
|
|
|
|
|
|
|
| |
The i915 driver installs it's register map at load time now. We can't
remove the map during unload without holding the lock.
Approved by: kib
Notes:
svn path=/head/; revision=182468
|
|
|
|
|
|
|
|
|
| |
This function manipulates a spin lock and we can't hold a mutex over it.
Approved by: kib
Notes:
svn path=/head/; revision=182467
|
|
|
|
| |
Notes:
svn path=/head/; revision=182464
|
|
|
|
|
|
|
|
|
|
|
|
| |
wind up with the incorrect checksum on the wire when transmitted via
devices that do checksum offloading.
PR: kern/119635
Reviewed by: rwatson
MFC after: 5 days
Notes:
svn path=/head/; revision=182463
|
|
|
|
|
|
|
| |
Pass me the pointyhat, please.
Notes:
svn path=/head/; revision=182462
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stopped nor the waiting state and also no other means to check
whether the receiver is idle (see also r163774), we have no choice
than to call mii_tick(9) unconditionally even in the case of the
DC_REDUCED_MII_POLL handling as far as the RX side is concerned.
This isn't necessarily worse than checking whether RX is idle
though because unlike as with TX we're racing with the hardware,
which might receive packets any time while we poll the MII, anyway.
Reported and tested by: Jacob Owens
Reviewed by: yongari
MFC after: 3 days
Notes:
svn path=/head/; revision=182461
|
|
|
|
|
|
|
|
|
|
| |
during boot. Right now this is disabled by default, but it can be enabled
by setting 'crashinfo_enable=YES' in rc.conf.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=182460
|
|
|
|
| |
Notes:
svn path=/head/; revision=182459
|
|
|
|
| |
Notes:
svn path=/head/; revision=182457
|
|
|
|
| |
Notes:
svn path=/head/; revision=182456
|
|
|
|
| |
Notes:
svn path=/head/; revision=182455
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Macrofy bitmap table lookup. Constify the table while I am here.
- Add missing continue statements in the for loop.
Functionally it should be the last remaining fix from:
PR: kern/89752
MFC after: 1 month
Notes:
svn path=/head/; revision=182454
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
once it is lost, all data is gone.
Option '-B none' can by used to prevent backup. Option '-B path' can be
used to backup metadata to a different file than the default, which is
/var/backups/<prov>.eli.
The 'geli init' command also prints backup file location and gives short
procedure how to restore metadata.
The 'geli setkey' command now warns that even after passphrase change or keys
update there could be version of the master key encrypted with old
keys/passphrase in the backup file.
Add regression tests to verify that new functionality works as expected.
Update other regression tests so they don't create backup files.
Reviewed by: keramida, rink
Dedicated to: a friend who lost 400GB of his live by accidentally overwritting geli metadata
MFC after: 2 weeks
Notes:
svn path=/head/; revision=182452
|
|
|
|
|
|
|
| |
- Keep options in alphabetical order.
Notes:
svn path=/head/; revision=182451
|
|
|
|
|
|
|
|
| |
Submitted by: kib
Approved by: jb
Notes:
svn path=/head/; revision=182448
|
|
|
|
| |
Notes:
svn path=/head/; revision=182447
|