Commit Graph

209141 Commits

Author SHA1 Message Date
reinoud 7775733971 Add cpu_spawn_return() as per other archs to make it compile. No tests done
yet.
2012-02-13 19:15:59 +00:00
dholland 9074bc163d Note removal of quotactl(8) and addition of quotadump(8)/quotarestore(8)
for backup purposes. While here, also improve the earlier quota-related
entries.

At quota2 merge time [20110306]:
  - main entry is for "ffs", not "kernel"
  - add entry to note addition of repquota -x
  - add entry to note addition of quotactl(8)
  - add entry to note changes to quotactl(2)
  - avoid explicitly saying to use repquota -x and quotactl(8) to migrate
    as it's no longer quite accurate

At libquota addition time [20120201]:
  - main entry is for "libquota", not "kernel"
  - add entry to note that quotactl(2) is gone and __quotactl(2) is now
    a private interface
  - add entry to note that the repquota -x dump format changed (from xml
    to tabular)
  - continue to make no reference to the vfs-level changes as they aren't
    user-facing

Prompted/suggested by apb@; ok by martin for releng.
2012-02-13 19:15:30 +00:00
darrenr b13c836b86 Update ipf test suite with test cases from IPFilter 5.1.1 2012-02-13 18:52:53 +00:00
njoly 3fc9fe7769 Small typo in macro (.xr -> .Xr). 2012-02-13 18:30:44 +00:00
dholland 2569366154 Update reference output to match yesterday's fix. ok martin@ for releng 2012-02-13 17:55:12 +00:00
mrg aaa34c447a revert prior change to unbind_jacks_from_mididev(), it's wrong.
slightly clean up free_all_jacks().
2012-02-13 17:36:18 +00:00
matt ce35cb8996 Make this compilable again. Use the new defines and switcht to
CFATTACH_DECL_NEW.
2012-02-13 17:34:21 +00:00
matt 19b51f389c Modify __lwp_getprivate_fast to call _lwp_getprivate if the mrc instruction
returns 0 (some ARM cores are broken and don't raise an undefined exception
when encountering an unknown or privileged mrc instruction in user mode).
2012-02-13 17:07:45 +00:00
njoly e6f95d3fd6 Fix sched_set{param,scheduler} sections. 2012-02-13 16:35:59 +00:00
wiz b7905b09b3 Add missing dependency for uts.
From Pierre Pronchery <khorben@defora.org> in PR 45872.
2012-02-13 14:36:39 +00:00
phx ded0a055e9 Allow all physical addresses from 0 to 0xffffffff in cpu_uarea_alloc().
This fixes a panic with amigappc, which has RAM starting at 0x08000000.
Ok by releng@.
2012-02-13 13:44:14 +00:00
wiz 1c18e63ac7 Bump date for previous. 2012-02-13 13:37:45 +00:00
wiz 7f2677a5a5 Bump date for previous. 2012-02-13 13:23:29 +00:00
wiz 074fd0cb6c Merge descriptions for same error code. 2012-02-13 13:22:09 +00:00
wiz 2b8cc88a65 Use the correct path in dt_module.c.
From clang via Henning Petersen in PR 46009.
2012-02-13 13:05:36 +00:00
wiz e2fe99ce62 Use the correct constant.
From FreeBSD via Henning Petersen in PR 46005.
2012-02-13 13:03:06 +00:00
njoly 5e9c51f65d Fix copyin/copyout sections in xrefs. 2012-02-13 13:01:39 +00:00
wiz d2b212ea03 Remove unused variables.
From cppcheck via Henning Petersen in PR 46004.
2012-02-13 12:59:56 +00:00
wiz 6b6a89aacb Remove unused variable.
From cppcheck via Henning Petersen in PR 46002.
2012-02-13 12:55:28 +00:00
wiz 6ef3ca5393 Use the correct MACHINE_ARCH for amd64.
Remove temporary hack while here.
From Henning Petersen in PR 46001.
2012-02-13 12:52:54 +00:00
wiz f85441243b Add locking description to some functions.
Add FILES section referencing source code.
From Julian Fagir in PR 45988.
2012-02-13 12:49:35 +00:00
njoly 7aa97625c3 No need for quotadump.debug. quotadump is a link to repquota, and will
use its debug file.
2012-02-13 12:49:25 +00:00
wiz 6150642599 Add RCS Id. 2012-02-13 08:55:20 +00:00
spz 5091f3689d fix resource leaks and NULL uses found by Coverity scan.
Releng-ok by riz
2012-02-13 07:40:24 +00:00
dholland 602a9ede7c Fix another problem with quota cursor iteration. ok riz 2012-02-13 06:23:41 +00:00
jruoho f91f485fa7 Fix wrong error failure message. 2012-02-13 05:09:01 +00:00
jruoho 31fc3f8772 Polish the path names a little. 2012-02-13 04:48:21 +00:00
jruoho 5c0797982c Add a small note about the directory structure. 2012-02-13 04:43:25 +00:00
mrg 164ace4145 make sure we're holding the kernel lock when calling in to the usb code. 2012-02-13 01:51:02 +00:00
mrg 5dec1d140d call VOP_CLOSE() in the case we're bailing due to missing both read/write.
fixes vrelel() warnings when opening /dev/music on a device that doesn't
support the requested open flags.
2012-02-13 01:47:16 +00:00
dholland 2a4bf12d53 Remove quotactl(8). Successor for backup purposes is quotarestore(8).
Note that as of this writing the tool continues to work with the old
proplib-xml packet interface against the new libquota(3), so anyone
who has a use for it can bring it back from the Attic and/or create a
pkgsrc package.

Approved by releng for the freeze, and specifically okayed by core a
couple months ago.
2012-02-13 01:43:22 +00:00
dholland aa498c6e1e Add quotadump(8), which is a link to repquota, and quotarestore(8),
which is new. Includes man page updates. Approved by releng for
freeze.
2012-02-13 01:35:06 +00:00
dholland 62cfdf3316 Quota-related docs fixes:
- Remove old quotactl(2); replace with new __quotactl(2).
- Document quota_getrestrictions(3), the semantic restriction codes,
  and quota_quotaon/off(3).
- Update VFS_QUOTACTL(9), which was still describing the pre-proplib API.

Approved by releng for the freeze.
2012-02-13 01:24:00 +00:00
martin a1d752b60f Add missing MD code for posix_spawn 2012-02-13 01:07:37 +00:00
martin c75ce34822 add missing MD code for posix_spawn 2012-02-13 01:04:26 +00:00
christos b678a11dc2 Only print errors when -A or required. Fix the error message to match others. 2012-02-12 20:54:07 +00:00
martin 7e9aef18d8 Fix another merge botch - bracket vm space assignement with kpreempt-
disable/enable.
2012-02-12 20:28:14 +00:00
martin f4db024f0d Fix SDT_PROBE macro argument overlooked in argument renaming, noted by <chs> 2012-02-12 20:11:03 +00:00
christos 0cdb0b2663 PR/44889: Yamamoto Takashi: netstat -d option is broken (from Elad) 2012-02-12 19:11:33 +00:00
matt 1d7f24ead8 Change old-style function defintions to C89 prototypes.
Approved by releng.
2012-02-12 16:34:06 +00:00
matt 7490f93305 Change old-stlye-defintions to C89 prototypes.
Switch to CFATTACH_DECL_NEW/device_t/cfdata_t
Defer attaching interrupt evcnts.

Approved by releng.
2012-02-12 16:31:01 +00:00
jym ab7c6049a8 Xen clock management routines keep track of CPU (following MP merge).
Reflect this change in the suspend/resume routines so they can cope with
domU CPU suspend, instead of setting their cpu_info pointer to NULL.

Avoid copy/pasting by using the resume routines during attachement.

ok releng@.

No regression observed, and allows domU to suspend successfully again.
Restore is a different beast as PD/PT flags are marked "invalid" by Xen-4
hypervisor, and blocks resuming. Looking into it.
2012-02-12 14:38:18 +00:00
jym 03e761965c Xen MP merge introduced MP safety around ipl handlers. When removing an
event handler, check handler's function and arguments against the real
ones, not the ones from wrappers.

This fixes a bug where !mpsafe events could not be removed from the handler
chain, thereby blocking suspension of a domU.

ok releng@.
2012-02-12 14:24:08 +00:00
wiz b3d989a54f Remove duplicate RS_LOCAL. From cppcheck via Henning Petersen in PR 46000. 2012-02-12 13:56:56 +00:00
wiz bc52f506fb Consistently use ar5416SetPowerMode. From Henning Petersen in PR 45999. 2012-02-12 13:55:27 +00:00
wiz a49dba341d Remove duplicate function declaration. From Henning Petersen in PR 45998. 2012-02-12 13:52:51 +00:00
wiz 6234e98d3f Remove unused variables. From cppcheck via Henning Petersen in PR 45997. 2012-02-12 13:51:29 +00:00
wiz 87b4d73fea Use correct return value. From clang via Henning Petersen in PR 45995. 2012-02-12 13:48:45 +00:00
wiz 498ae6154b Use correct return value. From clang via Henning Petersen in PR 45996. 2012-02-12 13:47:19 +00:00
martin c6a7db15e9 Minor tweaks to posix_spawn error handling.
The standard allows "open" file actions for descriptors that are alreay
open, add support for that.
2012-02-12 13:14:37 +00:00