Commit Graph

191091 Commits

Author SHA1 Message Date
mrg
d16b54a109 look for and find the app-defaults in the new app-defalts/ subdir of
the distribution sources.  also, most of them lost the ".ad" suffix.
2010-05-21 06:04:36 +00:00
mrg
7426d119e2 find config.h where it is now available from. for imake 1.0.3. 2010-05-21 05:55:24 +00:00
phx
1286c420be brdsetup() cleanup by Toru Nishimura.
Put all board-relevant data into a structure.
A few modifications by myself to use the new structure for generating the
BTINFO_PRODFAMILY boot node.
2010-05-20 20:18:51 +00:00
phx
48c2f22f51 Netboot generates a BTINFO_PRODFAMILY boot-info which specifies the family
name of the board. The kernel uses this information to make a new sysctl
entry called machdep.prodfamily.
2010-05-20 19:27:25 +00:00
pooka
9df433ebd4 include extattr support 2010-05-20 18:23:59 +00:00
drochner
8239dc73b5 fix sigwaitinfo/sigtimedwait:
-allow NULL "info" pointer
-return signal number
2010-05-20 17:10:42 +00:00
pooka
8cfbddcc72 one more file to commit with regen 2010-05-20 15:58:09 +00:00
pooka
1a99fb9d2c regen: rump_vfs_extattrctl 2010-05-20 15:47:45 +00:00
pooka
e1f101dffa open VFS_EXTATTRCTL to user namespace 2010-05-20 15:46:47 +00:00
agc
85e1ce333a avoid a duplicated error message 2010-05-20 14:43:42 +00:00
agc
8f036637a6 extend the resolve_userid() function to take a keyring, and use it for
functions which require a secret key as well.
2010-05-20 14:42:21 +00:00
pooka
87467ad4b7 * fix typo
* fix "that's not supposed to be there" causing off-by-one in array
* make compile regardless of dev_t size
2010-05-20 13:07:28 +00:00
christos
8610d20994 Allow the build to work on a read-only source tree. From Anon Ymous 2010-05-20 12:51:16 +00:00
pooka
18dfe9c831 Fix typo. 2010-05-20 12:09:45 +00:00
jruoho
b193ac2e60 Add a bold-faced note that the interface is not fully functional, but the
opposite.
2010-05-20 07:13:16 +00:00
wiz
2092607d5a + /usr/share/man/man3/pthread_attr_destroy.3 2010-05-20 06:52:01 +00:00
jruoho
3fe9db0422 Use standard section headers.
Xref vfs(9), which could be slightly more elaborate.
2010-05-20 05:43:54 +00:00
jruoho
eae9525bf9 Note clock_gettime(2) in the example. 2010-05-20 05:37:58 +00:00
jruoho
ebe1a1a443 Use a list with the mutex type. Note, from the standard, that recursive
mutexes should be avoided when condition variables are used.
2010-05-20 05:19:29 +00:00
jruoho
f395ce5a84 Use similar markup than in pthread_mutex_init(3) etc. with the initializer
macro. Improve wording slightly.
2010-05-20 04:47:38 +00:00
jruoho
128d933f6d .Fa -> .Fn. 2010-05-20 04:41:11 +00:00
jruoho
6e31029d91 Note the initializer macros. 2010-05-20 04:40:23 +00:00
agc
c2035aa4d5 add a static function to resolve the userid in one place, and start to use it 2010-05-20 00:36:31 +00:00
agc
9ec81417ee The experiment in keeping a separate, trimmed-down codebase for just the
verify functionality was useful, but the time has come to learn lessons
and move on.

Replace the trimmed down code with a call to the verification code from
libnetpgp(3).
2010-05-20 00:33:01 +00:00
pooka
9a9b93d40a Initialize "hasdebug" default deterministically. 2010-05-20 00:13:02 +00:00
mrg
c049f1739e only use bus_space*() on drm_local_map_t's that have been mapped into
some bus space somewhere.  otherwise, just use normal accesses since
it is normal memory.

this fixes radeondrm on x86 since bus_space_tag_t became a pointer.

add the "GEM" and "TTM" mapping types to sysctl support (though right
now we will never have them in our list of maps.)
2010-05-19 22:14:20 +00:00
christos
95aad9cc1b verify hex digits. 2010-05-19 21:59:34 +00:00
christos
f65592ae19 regression test for ether_aton_r() 2010-05-19 21:55:35 +00:00
jakllsch
d0348fc0c0 Changes in cdce(4).
When getting the CDC Ethernet descriptor, search for the right
descriptor type.  Avoid ignoring return value of ether_aton_r().

Never return ENETRESET from cdce_ioctl().
This fixes the "cannot assign link-local address" issue.

Deduplicate a local Ethernet CRC32 function.  When appending
CRC32 for Zaurus ensure it is in a consistent endianess.
2010-05-19 21:10:42 +00:00
christos
e0734521a4 delint previous 2010-05-19 20:43:51 +00:00
christos
5cbb2aa881 Replace ether_nonstatic_aton with a
- better named one
- not suffering from buffer oveflow
- simpler
- handling different separators
- returning error codes for errors

Some ideas from one posted on tech-net by Jonathan A. Kollasch
2010-05-19 20:41:59 +00:00
jruoho
9bfaa34d66 Build links for rest of the pthread_attr(3) functions.
Hopefully I got all of them right in the setlist...
2010-05-19 20:04:42 +00:00
jruoho
339c78d7ee Add a simple test for timer_create(2) / sigevent(3).
Case for SIGEV_THREAD commented out.
2010-05-19 19:17:08 +00:00
jakllsch
fdc252ea81 Changes to ether_nonstatic_aton():
Be more leinent on input string format.  Each nibble pair may optionally be
followed by any of ':', '-', '.' or ' '.

Make source string const and work on a temporary copy.  The caller may not
expect their string to be destroyed.
2010-05-19 18:58:22 +00:00
haad
1b1a9e8e92 Use ddi_copyin and ddi_copyout as solaris does, change them to
ioctl_copyin/ioctl_copyout in kernel and to bcopy in user space.
2010-05-19 18:01:26 +00:00
haad
a18cf73bc7 Do not call zfs_init and zfs_fini directly they will be called by vfs routines. 2010-05-19 17:57:42 +00:00
haad
d0ec786298 Do not initialize space map cv twice. 2010-05-19 17:50:59 +00:00
phx
9d6a73e36d Implemented support for boot arguments. 2010-05-19 15:05:58 +00:00
phx
75dfa15bd8 Updated Synology extclk from latest Linux/Synology source. 2010-05-19 15:04:51 +00:00
tsutsui
ddc1224298 microtime(9) stores struct timeval. bintime(9) stores struct bintime. 2010-05-19 13:41:39 +00:00
pooka
a2afe0a788 * document VOP_DELETEEXTATTR
* remove "vector element" from summary table:
   1) deleteextattr caused problems for 80col rendering
   2) it's not correct on NetBSD, we use the VOFFSET instead (!)
2010-05-19 13:20:32 +00:00
christos
9d32a81030 rename the allow and deny files to match the documentation. 2010-05-19 12:50:49 +00:00
pooka
f6e5cf7c15 remove three years out-of-date comment 2010-05-19 12:16:45 +00:00
jruoho
9af468c2ef Continue the discussion w.r.t. SIGEV_THREAD by nothing that pthread_join(3)
should be out of the question and that thread stack cannot be recovered.
2010-05-19 08:02:46 +00:00
wiz
1ac335ec2f Sort sections. 2010-05-19 06:59:44 +00:00
jruoho
2096402883 Refer to sigevent(3). 2010-05-19 06:44:51 +00:00
jruoho
2e96a91ae5 Remove the paragraph about the used notification mechanism. Instead,
reference sigevent(3). Clarify the file offset discussion.
2010-05-19 06:35:20 +00:00
jruoho
9a92149c5d Add sigevent(3), a manual page that describes the struct sigevent used by
the POSIX real time functions and timers.

XXX:	(a) Needs to be modified once real time signals are supported.
	(b) Could use an example.
2010-05-19 06:28:53 +00:00
agc
0eeb5498cc One more reason not to use DSA keys:
The DSA algorithm seems to require a digest value which is 20 bytes
long, which kind of implies SHA-1.

If we have a DSA signature, use SHA-1 as a hash algorithm, for backwards
compatibility. RSA signatures continue to use SHA256 by default, although
this can be given as an argument, if desired.

This fixes DSA signatures with netpgp:

% netpgp --sign --userid d4a643c5 a
pub 1024/DSA 8222c3ecd4a643c5 2010-05-19 [EXPIRES 2013-05-18]
Key fingerprint: 3e4a 5df4 033b 2333 219b 1afd 8222 c3ec d4a6 43c5
uid              Alistair Crooks (DSA TEST KEY - DO NOT USE) <agc@netbsd.org>
sub 1024/DSA 8222c3ecd4a643c5 2010-05-19 [EXPIRES 2013-05-18]
netpgp passphrase:
% netpgp --verify a.gpg
Good signature for a.gpg made Tue May 18 05:41:25 2010
using DSA key 8222c3ecd4a643c5
pub 1024/DSA 8222c3ecd4a643c5 2010-05-19 [EXPIRES 2013-05-18]
Key fingerprint: 3e4a 5df4 033b 2333 219b 1afd 8222 c3ec d4a6 43c5
uid              Alistair Crooks (DSA TEST KEY - DO NOT USE) <agc@netbsd.org>
sub 1024/DSA 8222c3ecd4a643c5 2010-05-19 [EXPIRES 2013-05-18]
%
2010-05-19 02:50:16 +00:00
wiz
69d3a7e4fd Add gpt(8) and sort SEE ALSO (case insensitively). Bump date. 2010-05-18 23:34:40 +00:00