Commit Graph

247349 Commits

Author SHA1 Message Date
pgoyette
c0a30d4dc7 Adapt to use of bintime(9) for kernel history timestamps (7.99.55). 2017-01-05 03:42:27 +00:00
pgoyette
c9b6361b98 By popular demand, update kernhist to use bintime(9) as the basis for
its timestamps.

As this changes storage structures for data passed between kernel and
userland, welcome to 7.99.55!

XXX Output routines still use microsecond resolution when printf()ing.

XXX Possible future feature would be addition of option to use
XXX getbintime(9) for less time-critical histories.
2017-01-05 03:40:33 +00:00
pgoyette
c42fba4183 Actually initialize the sysctl stuff for kernhist! Missed this file
in earlier commits.
2017-01-05 03:22:20 +00:00
christos
54351bdf9a move xtrans.m4 to comp, since it gets installed with the headers. 2017-01-05 02:22:19 +00:00
christos
f44d9dbae7 don't include uvm_physseg.h for kmem grovellers. 2017-01-04 23:59:49 +00:00
christos
eb4ab08b1b really, don't install uvm_physseg.h! 2017-01-04 23:59:27 +00:00
kamil
9e277af53b Add new tests siginfo[123] in t_ptrace_wait{,3,4,6,id,pid}
These tests are for the proposed PT_[GS]ET_SIGINFO interface for ptrace(2),
accessors for signal information that caused tracee to be interrupted.

siginfo1:
    Verify basic PT_GET_SIGINFO call for SIGTRAP from tracee

siginfo2:
    Verify basic PT_GET_SIGINFO and PT_SET_SIGINFO calls without
    modification of SIGINT from tracee

siginfo3:
    Verify basic PT_GET_SIGINFO and PT_SET_SIGINFO calls with
    setting signal to new value

New tests are protected with #ifded and currently disabled in the HEAD branch.
They will be automatically enabled once the final implementation will land the
sources.

Sponsored by <The NetBSD Foundation>
2017-01-04 22:27:20 +00:00
christos
f83bb9fcab Collect a list of kernel swap files to be removed (Yorick Hardy) 2017-01-04 21:37:46 +00:00
christos
ea1524ad60 add a simple stacktrace macro 2017-01-04 21:25:41 +00:00
palle
474386fffd sun4v: make debugging kernel bringup a bit easier by using the slowtrap code path for currently unhandled trap level 1 trap entries 0x00-0x23 and 0x28-0x30 2017-01-04 20:19:29 +00:00
christos
393981f1b2 match the M* and N* targets. 2017-01-04 19:55:06 +00:00
christos
92bd3d8559 - kill NULL argument from in6_update_ifa
- amend in6_update_ifa1 to return the ia, so that we can use it in pfil hooks
  to avoid NULL pointer crash.
2017-01-04 19:37:14 +00:00
martin
c7c3f6cc5f Not flex update build issue 2017-01-04 19:34:47 +00:00
hannken
78a3dd75dc Expand struct vcache to individual variables (vcache.* -> vcache_*).
No functional change.
2017-01-04 17:13:50 +00:00
hannken
b5dbef9129 Comment the fields of struct vnode_impl.
No functional change.
2017-01-04 17:06:13 +00:00
christos
dc7a20515e only preserve timestamps on specific revisions if we've been asked to.
found by martin@
2017-01-04 16:11:20 +00:00
christos
4faed551bb PR/51777: David Binderman: Remove unused computation 2017-01-04 15:53:14 +00:00
christos
dd655a14e8 PR/51776: David Binderman: Remove unused variable. 2017-01-04 15:51:41 +00:00
christos
4778b6dcdc PR/51775: David Binderman: Remove unused variable. 2017-01-04 15:50:34 +00:00
christos
fb87ff0608 PR/51774: David Binderman: Remove unused variable. 2017-01-04 15:49:28 +00:00
christos
995b0e714e PR/51773: Yorick Hardy: drvctl module is not part of lvm 2017-01-04 15:45:18 +00:00
christos
fe5e49dfc0 PR/51771: Yorick Hardy: Use newer xinput features 2017-01-04 15:44:06 +00:00
christos
772001de84 PR/51772: Yorick Hardy: Don't hard-code "netbsd", use ${.TARGET} consistently. 2017-01-04 15:43:04 +00:00
christos
1272db2820 PR/51770: Yorick Hardy: Install xtrans.m4 (needed by net/tigervnc) 2017-01-04 15:41:24 +00:00
martin
68f5a34706 Fix optlen calculation for the SACK block - 2 bytes too few were
calculated, causing corruption in PR kern/51767.
2017-01-04 15:09:37 +00:00
ryo
7c72d62b0f Not to use ph_inout[2]. dir (= PFIL_IN or PFIL_OUT) is 1 or 2, not 0 or 1. 2017-01-04 13:03:41 +00:00
kre
c6fa5aa928 Remove redundant tests: if optlen === 0, then optlen % 4 != 2 (it is 0)
so there is no need to test both.
2017-01-04 12:35:14 +00:00
hannken
bd6e0af46f Change tmpfs_chsize() to update mtime etc. even if "length == node->tn_size".
Adresses PR kern/51762 "mtime not updated by open(O_TRUNC)"
2017-01-04 10:06:43 +00:00
hannken
836eaad2e3 Change ufs_truncate_retry() to call UFS_TRUNCATE() at least once.
Even with "newsize == ip->i_size" it must set mtime etc.

Adresses PR kern/51762 "mtime not updated by open(O_TRUNC)"
2017-01-04 10:04:17 +00:00
knakahara
f1b4006c55 fix typo. pointed out by msaitoh@n.o. 2017-01-04 04:43:08 +00:00
roy
ffbd31d04d White space police 2017-01-04 03:51:29 +00:00
nonaka
08620666eb Export some 802.11 IE manipulate functions. 2017-01-04 03:05:24 +00:00
roy
c293b9d8ca Allow C++ to link with all curses parts. 2017-01-04 02:05:23 +00:00
pgoyette
a8a84e00d2 Per suggestion from christos@, make both timestamp fields 64-bits wide. 2017-01-04 01:52:13 +00:00
pgoyette
09c45791e2 Fix error handling confusion between error and errno 2017-01-04 01:29:18 +00:00
pgoyette
394eed3eed Adapt to new version of the sysctl export structure 2017-01-04 01:06:26 +00:00
pgoyette
5a0b3ff699 Rearrange the sysctl export structure for better alignment. 2017-01-04 01:05:58 +00:00
christos
106cdf0378 use symbolic constants; no functional change. 2017-01-03 20:59:32 +00:00
christos
58298223f1 Add more curses functions (Hi Roy!) 2017-01-03 18:43:13 +00:00
abhinav
1bd07c5d11 The range of the SS field is [0,60]
From the POSIX time.h man page:
"The formal definition of UTC does not permit double leap seconds, so all mention of double leap seconds has been removed, and the range shortened from the former [0,61] seconds seen in previous versions of POSIX."
2017-01-03 16:01:05 +00:00
christos
042834e792 simplify, and call the hooks after the address has been deleted like we did
for the ipv4 case.
2017-01-03 15:14:31 +00:00
abhinav
a74c622d52 Sqlite 3.16.0 is out. 2017-01-03 15:12:25 +00:00
christos
0a91c122c2 put it the way we had it before; since we check for the resulting size after
we added the extra space we can be equal to the size of the buffer.
2017-01-03 15:07:59 +00:00
roy
5a86062c02 Add missing man pages for wsyncup.3 and wcursyncup.3 2017-01-03 13:21:40 +00:00
christos
9a6f404c92 fix off-by-one 2017-01-03 13:09:33 +00:00
roy
8cf8e1d614 Support 256 colour terms.
From: rofl0r <retnyg@gmx.net>
2017-01-03 12:42:06 +00:00
roy
330e363652 Now that we have the initialize_color capability,
init_color can be made to work.

From: rofl0r <retnyg@gmx.net>
2017-01-03 12:39:44 +00:00
skrll
0447572560 Do some more error checking.
PR/51551
2017-01-03 12:37:08 +00:00
abhinav
484007c8cd Correct a sentence in the HISTORY section.
Remove a mention of "1989" at the end of the 4th paragraph in HISTORY section,
probably leftover because of copy-paste from the paragraph above.
Sort SEE ALSO.
Remove trailing white spaces at some places.
Remove Pp after Sh at few places as pointed out by mandoc.

ok christos@
2017-01-03 11:34:41 +00:00
maya
c29c35b7ee Remove npx.4 for real now 2017-01-03 09:17:19 +00:00