| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=95658
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95377
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
environment needed at boot time to a dynamic subsystem when VM is
up. The dynamic kernel environment is protected by an sx lock.
This adds some new functions to manipulate the kernel environment :
freeenv(), setenv(), unsetenv() and testenv(). freeenv() has to be
called after every getenv() when you have finished using the string.
testenv() only tests if an environment variable is present, and
doesn't require a freeenv() call. setenv() and unsetenv() are self
explanatory.
The kenv(2) syscall exports these new functionalities to userland,
mainly for kenv(1).
Reviewed by: peter
Notes:
svn path=/head/; revision=94936
|
| |
|
|
|
|
|
| |
revision.
Notes:
svn path=/head/; revision=94722
|
| |
|
|
|
|
|
| |
PR: 37078
Notes:
svn path=/head/; revision=94721
|
| |
|
|
|
|
|
|
|
| |
the source of the data contained in the structure.
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=94688
|
| |
|
|
|
|
|
|
|
|
|
| |
has been requested.
Unconditionalize the definition of INET_ADDRSTRLEN and
INET6_ADDRSTRLEN. Doing this helps expose bogus redefinitions in 3rd
party software.
Notes:
svn path=/head/; revision=94353
|
| |
|
|
|
|
|
|
|
|
| |
<strings.h>, based on POSIX.1-2001's requirements.
o Add 'restrict' qualifier (spelled '__restrict') to functions in
<string.h>, as per C99 and POSIX.1-2001.
o Properly expose new POSIX.1-2001 functions in <string.h>.
Notes:
svn path=/head/; revision=93747
|
| |
|
|
|
|
|
|
| |
Noticed by: bde
Reviewed by: bde
Notes:
svn path=/head/; revision=93730
|
| |
|
|
| |
Notes:
svn path=/head/; revision=93584
|
| |
|
|
| |
Notes:
svn path=/head/; revision=93576
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MI, not required to be a fixed size, and used in multiple headers.
This will grow in time, as more things move here from <sys/types.h>
and <machine/ansi.h>.
o Add missing type definitions (uint16_t and uint32_t) to
<arpa/inet.h> and <netinet/in.h>.
o Reduce pollution in <sys/types.h> by using `#if _FOO_T_DECLARED'
widgets to avoid including <sys/stdint.h>.
o Add some missing type definitions to <unistd.h> and note the ones
that still need to be added.
o Make use of <sys/_types.h> primitives in <grp.h> and <sys/types.h>.
Reviewed by: bde
Notes:
svn path=/head/; revision=93514
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/.
PR: docs/29534
Install sys/netatm/*/*.h to /usr/include/netatm/*/.
Don't install compatibility symlinks for <machine/soundcard.h>
and <machine/joystick.h>. Three years is enough to be aware of
the change, and these weren't visible in the SHARED=symlinks
case.
Back out include/Makefile,v 1.160 that was a null change anyway
due to the bug in the path, and we now don't want to install
these headers because they would otherwise be invisible in the
SHARED=symlinks case.
Don't install IPFILTER headers. Userland utilities fetch them
directly, and they were not visible in the SHARED=symlinks case.
Resurrect SHARED=symlinks in Makefile.inc1.
PR: bin/28002
Prodded by: bde
MFC after: 2 weeks
Notes:
svn path=/head/; revision=93229
|
| |
|
|
| |
Notes:
svn path=/head/; revision=93190
|
| |
|
|
|
|
|
| |
lists were outdented to column 0.
Notes:
svn path=/head/; revision=93189
|
| |
|
|
| |
Notes:
svn path=/head/; revision=93064
|
| |
|
|
|
|
|
|
|
| |
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
Notes:
svn path=/head/; revision=93032
|
| |
|
|
|
|
|
| |
to avoid -Wshadow warnings in consumers of its generated header files.
Notes:
svn path=/head/; revision=92970
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92968
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92925
|
| |
|
|
|
|
|
| |
NetBSD. Update man page to reflect this.
Notes:
svn path=/head/; revision=92924
|
| |
|
|
|
|
|
|
|
| |
with the NO_IPFILTER make.conf(5) knob.
(So that we can "make the-rest-of-the-world" again.)
Notes:
svn path=/head/; revision=92868
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92223
|
| |
|
|
|
|
|
|
|
|
| |
for POSIX.1-2001 conformance.
o Add magic to <netinet/in.h> and <netinet6/in6.h> to prevent
redefining INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
o Add a note about missing typedefs in <arpa/inet.h>.
Notes:
svn path=/head/; revision=91984
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o In i386's <machine/endian.h>, macros have some advantages over
inlines, so change some inlines to macros.
o In i386's <machine/endian.h>, ungarbage collect word_swap_int()
(previously __uint16_swap_uint32), it has some uses on i386's with
PDP endianness.
Submitted by: bde
o Move a comment up in <machine/endian.h> that was accidentially moved
down a few revisions ago.
o Reenable userland's use of optimized inline-asm versions of
byteorder(3) functions.
o Fix ordering of prototypes vs. redefinition of byteorder(3)
functions, so that the non-GCC (libc asm) case has proper
prototypes.
o Add proper prototypes for byteorder(3) functions in <sys/param.h>.
o Prevent redundant duplicate prototypes by making use of the
_BYTEORDER_PROTOTYPED define.
o Move the bswap16(), bswap32(), bswap64() C functions into MD space
for platforms in which asm versions don't exist. This significantly
reduces the complexity of some things at the cost of duplicate code.
Reviewed by: bde
Notes:
svn path=/head/; revision=91959
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91911
|
| |
|
|
|
|
|
|
|
|
| |
accomplishes the goal of actually making <grp.h> independent of other
headers for the definition of its types.
Pointy hat to: mike
Notes:
svn path=/head/; revision=91848
|
| |
|
|
|
|
|
|
| |
`gid_t', use the canonical protection scheme to define a type in two or
more headers. This brings <grp.h> closer to POSIX.1-2001 conformance.
Notes:
svn path=/head/; revision=91325
|
| |
|
|
|
|
|
| |
Submitted by: ache
Notes:
svn path=/head/; revision=91245
|
| |
|
|
|
|
|
|
|
|
| |
needs to include <sys/types.h> before <grp.h>.
Submitted by: fjoe, sheldonh
David Malone <dwmalone@maths.tcd.ie>
Notes:
svn path=/head/; revision=91243
|
| |
|
|
|
|
|
|
|
|
| |
so that <sys/types.h> is now required. Add it, otherwise it breaks
some ports.
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
Notes:
svn path=/head/; revision=91242
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
complexities associated with having MD (asm and inline) versions, and
having to prevent exposure of these functions in other headers that
happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386
Reviewed by: bde, jake, tmm
Notes:
svn path=/head/; revision=90868
|
| |
|
|
| |
Notes:
svn path=/head/; revision=90780
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move group_from_gid to grp.h
Remove from stdlib.h
Make the prototypes match the code
Fix rm and mv to include new files.
NetBSD has these defined in those files, and others too that I've not
done.
Approved by: terminal room kabal
Reviewed by: jhb, phk
Notes:
svn path=/head/; revision=90644
|
| |
|
|
|
|
|
| |
this that doesn't break things.
Notes:
svn path=/head/; revision=90607
|
| |
|
|
|
|
|
| |
function definitions.
Notes:
svn path=/head/; revision=90606
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ansification and constification:
s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g
Also add $FreeBSD$ where needed.
MFC after: 1 week
Notes:
svn path=/head/; revision=90297
|
| |
|
|
|
|
|
|
|
|
|
|
| |
change prototypes to be the same as in the original sun tirpc code.
Remove ()P macro in a file where the mayority had ()P already removed.
Add them if the mayority use ()P macros.
Submitted by: mbr
Requested by: bde
Notes:
svn path=/head/; revision=90271
|
| |
|
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=90232
|
| |
|
|
|
|
|
|
|
|
|
| |
compile issues. std::isspace(' ') was expanding to std::(!!_maskrune...)
which would cause a C++ compile error. Making __istype() an inline
causes the expansion to be std::__istype() instead, which is valid.
Reviewed by: jkh
Notes:
svn path=/head/; revision=90231
|
| |
|
|
| |
Notes:
svn path=/head/; revision=90172
|
| |
|
|
|
|
|
| |
'const char *'.
Notes:
svn path=/head/; revision=90138
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t).
This makes us more consistant with NetBSD and standards which include
these functions. Bruce pointed out that ptrdiff_t would probably
have been better than intptr_t, but this doesn't match other
implimentations.
Also remove local declarations of sbrk and unnecessary casting.
PR: 32296
Tested by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 1 month
Notes:
svn path=/head/; revision=89732
|
| |
|
|
|
|
|
|
|
| |
with uid_t usage and (user)->pw_uid.
PR: 3242
Notes:
svn path=/head/; revision=89663
|
| |
|
|
|
|
|
|
|
|
|
| |
time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard. They will eventually be replaced when a real standard
comes out of committee.
Notes:
svn path=/head/; revision=89572
|
| |
|
|
|
|
|
|
| |
Submitted by: bde
PR: 33590
Notes:
svn path=/head/; revision=88962
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a packed array so sizeof work. This broke RFMON mode and passing
up 802.11 packets.
The Linux emulation code was derived from the open source Linux driver to
maintain compatibility.
LEAP support is added, hints from Richard Johnson. I've verified this
locally with PC350v42510.img firmware. More bug fixing from Marco to
fix long passwords.
Change DELAYs in flash part of driver to FLASH_DELAY which uses tsleep
so it doesn't look like your system died during a flash update.
Install header files in /usr/include/dev/an
Cleanup some ifmedia bugs add "Home" key mode to ifmedia and ancontrol.
This way you can manage 2 keys a little easier. Map the home mode into
key 5. Enhance ifconfig to dump the various configured SSIDs. I use
a bunch of different ones and roam between them. Use the syntax similar
to the WEP keys to deal with setting difference SSIDs.
Bump up up the Card capabilities RID since they added 2 bytes to it
in the latest firmware. Thankfully we changed it from a terminal
failure so the card still worked but the driver whined.
Some cleanup patches from Marco Molteni.
Submitted by: Richard Johnson <raj@cisco.com>
Marco Molteni <molter@tin.it>
and myself
Various checks: David Wolfskill <david@catwhisker.org>
Reviewed by: Brooks Davis <brooks@freebsd.org>
Warner Losh <imp@freebsd.org>
Approved by: Brooks Davis <brooks@freebsd.org>
Warner Losh <imp@freebsd.org>
Obtained from: Linux emulation API's from Aironet driver.
Notes:
svn path=/head/; revision=88748
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=88399
|
| |
|
|
|
|
|
| |
Stolen from: NetBSD
Notes:
svn path=/head/; revision=88055
|
| |
|
|
| |
Notes:
svn path=/head/; revision=88050
|