Commit Graph

14932 Commits

Author SHA1 Message Date
hannken 6935b8d9a0 Update arguments of vrecycle(), description of getnewvnode() and
the vnode flags.
2014-02-22 10:08:12 +00:00
hannken 8a81f374a4 Update the description of vfs_busy() and vfs_unbusy(). 2014-02-22 10:05:54 +00:00
joerg a8d5e9bfd0 Use small code model for LLVM on SPARC64, it should be equivalent to
GCC's medlow.
2014-02-21 20:44:03 +00:00
jdc 679f6e9d0e Add manual page for tsciic and cross reference it from related pages. 2014-02-21 12:26:00 +00:00
christos 161079ca45 put more info about the sierra modem 2014-02-15 18:17:59 +00:00
wiz 2db2e12a03 Fix typo in Dd. 2014-02-14 07:29:06 +00:00
christos d46692d173 mention ibss and hostap support 2014-02-14 04:24:41 +00:00
rmind c5b92e4a87 Sync some NPF config examples with the reality. 2014-02-08 01:32:19 +00:00
wiz 0ccfefc58a Mark up author name with An. 2014-02-07 16:57:05 +00:00
hannken 97834f7ba0 Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31
2014-02-07 15:29:20 +00:00
wiz 01b245946f Wording. New sentence, new line. filesystem -> file system. 2014-02-02 08:34:39 +00:00
manu 70aead41ff Add EMUL_NATIVEROOT so that native binaries can be told to search an
"emulation" directory before the real root. This makes easier to test
an amd64 kernel on the top of an i386 root filesystem prior a full
migration.
2014-02-02 04:28:42 +00:00
tsutsui dfc90f22bb Switch ews4800mips and newsmips to Xorg server.
There is ~no user of X11R6 Xservers except a few developers on these ports
and Xorg wsfb server should work with manual keymap settings.
2014-01-31 18:17:27 +00:00
martin fe2c82ab03 As discussed on tech-toolchain: untill gcc is fixed (or our ABI changed, ...)
make stack protection warnings non-fatal if using gcc 4.8 on sh3/m68k/vax.
2014-01-28 19:41:52 +00:00
pgoyette 50bc862539 Update CIOGFSESSION argument spec to match reality 2014-01-27 21:23:59 +00:00
apb 23e368546c Document TOOL_GZIP. 2014-01-27 07:57:28 +00:00
skrll 3468e012de Fix eraseo from yesterday 2014-01-23 16:35:20 +00:00
wiz 5a90ecf827 New sentence, new line. Sort sections. Remove superfluous Pp.
Add missing .El.
2014-01-23 15:17:59 +00:00
wiz acfab9e197 Spell out month name. 2014-01-23 14:12:38 +00:00
ryoon eb9e4d7489 Add urndis(4), bump date, and copyright year 2014-01-23 13:05:04 +00:00
hannken 04c776e5c8 Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Welcome to 6.99.30
2014-01-23 10:13:55 +00:00
spz 8797028bc7 - make etc/rc.d/wpa_supplicant create directory /var/run/wpa_supplicant
on startup
- create share/examples/wpa_supplicant/wpa_supplicant.conf and make it
  known in the relevant places. Improvements welcome, my point was
  ctrl_interface and "you seriously want this"
2014-01-23 07:26:50 +00:00
skrll deae578450 Update a little (don't trust myself to update anymore). Fix a macro
problem while I'm here.
2014-01-22 23:43:13 +00:00
christos af73cd2b49 For now, ignore errors from creating klinks. This is racy and you can get
it to trigger in 1/4 of the builds with -j 40 on a 24 processor box. Typical
error is:

    ln: machine/include: File exists
    *** Failed target:  .BEGIN
    *** Failed command: rm -f machine && ln -s /p/netbsd/cvsroot/src/sys/arch/vax/include machine
    *** Error code 1
    Stop.

Another approach to fixing this is to create a lockfile or adding other flags
to ln to change its behavior.
2014-01-22 15:19:05 +00:00
matt 5be5871ebb Add MKGCCCMDS to _MKVARS.yes after the loop. 2014-01-22 15:04:19 +00:00
matt aab0ce25e7 Make MKGCCCMDS default mirror MKGCC. (if MKGCC is no, MKGCCCMDS must be no). 2014-01-21 16:40:24 +00:00
mlelstv 45ab26459f Add igmafb man page. 2014-01-21 16:12:56 +00:00
joerg 527d1fa144 Use a separate variable for the use of GCC's unwind code. 2014-01-18 01:08:56 +00:00
hannken 1139274440 Change vnode operations create, mknod, mkdir and symlink to keep the
directory node dvp locked on return.

Discussed on tech-kern@

Welcome to 6.99.29
2014-01-17 10:55:01 +00:00
christos 5344ef6679 - Add a new bsd.host.mk that contains all the HOST_ variables extracted from
bsd.sys.mk and bsd.own.mk
- Add protection requiring that:
	1. bsd.sys.mk is not include from other Makefiles directly
	2. bsd.own.mk must be included before bsd.sys.mk since it
	   sets variables that bsd.sys.mk uses as conditionals.

This is step 1 of removing all variable settings from bsd.sys.mk and
leaving behind only rules. This way, the structure of a standard Makefile
is:
	variable overrides

	optionally include bsd.own.mk
	optionally include bsd.endian.mk

	variable settings that use variables defined in bsd.own.mk

	include a one or more rule .mk files (such as bsd.prog.mk etc)
2014-01-16 01:19:46 +00:00
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
joerg 55c499f97a -shared-libgcc is a GCC option, so only use it for gcc. 2014-01-15 14:00:09 +00:00
joerg 937a61eb8d -Wl,-pie and -r don't agree with each other, so filter the former out. 2014-01-15 13:59:38 +00:00
apb 07c206b653 Document random_seed and random_file. 2014-01-15 11:42:43 +00:00
christos 97d4e30936 use bsd.syscall.mk 2014-01-14 18:51:45 +00:00
apb adecfa9d02 Document new default for MKARZERO. 2014-01-14 11:32:35 +00:00
apb 33295e8a08 Let MKARZERO default to the same value as MKREPRO, so callers
can set MKREPRO=yes and automatically get MKARZERO=yes.
2014-01-14 11:31:01 +00:00
apb e50114d2aa Use parentheses in .if A && ( B || C || D || ... ) 2014-01-14 11:14:27 +00:00
christos fca2a7349b not so fast, let's fix the tree first. 2014-01-10 16:20:14 +00:00
christos b393459455 Add protection against direct inclusion of this file from other Makefiles.
This file is only intended to be included from the other rules files like
bsd.lib.mk or bsd.prog.mk. If you need things to be defined early, use
bsd.own.mk.
2014-01-10 16:16:57 +00:00
wiz 252a57e3a8 whitespace. 2014-01-10 09:43:15 +00:00
dholland b510fd7487 Clarify the behavior of the @machine and @machine_arch magic links
relative to uname output when running in emulations: the magic links
are *not* affected even though uname output changes.

(This means @machine magic links can be used for e.g. amd64 vs. i386
device nodes. There's also an @emul magic link for emulation.)

Noted by apb.
2014-01-09 18:55:41 +00:00
mbalmer 8905acc60a Use 5.2 usage pattern in the synopsis. 2014-01-07 21:54:17 +00:00
joerg 715627650d Non-literal format strings should be an error by default for clang. 2014-01-07 02:16:41 +00:00
njoly 32806908ee Kill one more trailing space in function argument. 2014-01-06 14:57:10 +00:00
njoly fa8cf4e111 Remove extra trailing spaces in functions arguments. 2014-01-06 13:59:00 +00:00
wiz 079d5678c6 Remove core.9lua, now called systm.9lua. 2014-01-06 13:05:47 +00:00
wiz 3181678dad Use more markup. Fix a typo. 2014-01-06 13:03:33 +00:00
wiz a760028eaf Add xrefs to pmf(9lua) and systm(9lua) 2014-01-06 13:03:01 +00:00
wiz 465d58a2d8 Use Fn for functions and Dv for null. 2014-01-06 09:30:26 +00:00
wiz 7da1f424ab Fix article. 2014-01-06 09:25:08 +00:00
wiz f5b7cc347b Use Nx. Remove superfluous Pp. Increase column width to widest entry. 2014-01-06 09:23:18 +00:00
wiz d778b71bd0 New sentence, new line. 2014-01-04 15:41:59 +00:00
wiz 2903717cc7 Sort sections. 2014-01-04 15:40:25 +00:00
christos 15db747847 disable ctf handling for the shuttle .c -> '' rule since we don't create
an object file to work on.
2014-01-02 19:25:08 +00:00
christos d2c532bec7 redo the ctf stuff to handle the USETOOLS=never case correctly and explain
how.
2013-12-31 18:46:09 +00:00
pgoyette 2a3b433915 Clear up documentation for crypto_unregister() vs crypto_unregister_all()
since there is no definition of CRYPTO_ALGORITHM_ALL!

XXX The description of the arguments for crypto_register() needs further
updates, too, but that will be left for another day.
2013-12-31 01:55:05 +00:00
dholland 9b72241e07 Add cross reference to mount_fdesc(8), as noted a while back in PR 45694.
Also add a note that the floppy driver is documented in fdc(4). Bump date.
2013-12-30 08:42:00 +00:00
msaitoh bcf70d1755 Add support For I354(C2000 interna Ethernet controller):
- Add I354 support.
 - Fix SGMII+MDIO case. SGMII+I2C is not supported yet.
 - Not tested well.
 - Sprinkle "XXX" to check later.
2013-12-29 21:28:41 +00:00
christos 1c9c725051 remove dup file 2013-12-28 17:35:01 +00:00
pgoyette a6570d4710 Update description to include Realtek 8211, to match contents of
sys/dev/mii/miidevs
2013-12-28 13:57:19 +00:00
apb 0b88554d45 Change comments and variables to reduce differences with upstream.
No change in the installed files.
2013-12-26 20:19:17 +00:00
apb 3528e952ca Merge tzdata2013i. We previously has tzdata2013d plus part of
tzdata2013e.
2013-12-26 17:09:39 +00:00
apb 33cc90c49b Import tzdata2013i from ftp://ftp.iana.org/tz/releases/tzdata2013i.tar.gz.
Major changes from tzdata2013d to tzdata2013e:

  Fiji (Pacific/Fiji) DST in 2013 starts on October 27, not October 20.

  Several zones have been turned into links, either to correct errors,
  or where the differences were in older data (before 1943) that was
  thought to be unreliable.

  Some time zone abbreviations have been changed.

Major changes from tzdata2013e to tzdata2013f:

  Tocantins, Brazil (America/Araguaina) DST will not start in September
  2013.

  Jordan (Asia/Amman) moves to permanent UTC+3 (instead of UTC+2 with
  permanent DST since 2012).

  Palestine (Asia/Hebron and Asia/Gaza) will end DST at 00:00, not
  01:00, as from September 2013.

Major changes from tzdata2013f to tzdata2013g:

  Morocco (Africa/Casablanca) now observes DST from the last Sunday
  in March to the last Sunday in October, not April to September.
  respectively.

Major changes from tzdata2013g to tzdata2013h:

  Libya (Africa/Tripoli) has switched its time zone back to UTC+2
  without DST, instead of UTC+1 with DST.

  Western Sahara (Africa/El_Aaiun) uses Morocco's DST rules.

  Acre, Brazil (America/Rio_Branco) and (we guess) western Amazonas,
  Brazil (America/Eirunepe), will switch from UTC-4 to UTC-5 on
  2013-11-10.

  Add entries for DST transitions in Morocco in the year 2038.  This
  avoids some year-2038 glitches introduced in 2013g.

Major changes from tzdata2013h to tzdata2013i:

  Jordan (Asia/Amman) switches back to UTC+2 standard time at 00:00 on
  December 20, 2013.  The 2006-2011 DST transition schedule is planned
  to resume in 2014.  The switch to permanent UTC+3 is cancelled.

  In 2004, Cuba (America/Havana) began DST on March 28, not April 4.

  The files solar87, solar88, and solar89 are no longer distributed.
  The zones built from those files (Asia/Riyadh{87,88,89}) and
  Mideast/Riyadh{87,88,89}) are no longer installed.  They were a
  negative experiment -- that is, a demonstration that tz data can
  represent solar time only with some difficulty and error.  Their
  presence in the distribution caused confusion, as Riyadh civil time
  was generally not solar time in those years.
2013-12-26 16:40:53 +00:00
njoly 5548fe6341 Remove a few unneeded paragraph macros. No output change. 2013-12-26 11:11:53 +00:00
wiz b8996e2617 Use Mt. Remove trailing whitespace. 2013-12-24 12:20:50 +00:00
rkujawa 7e4c7bd0fb Add acafh(4) page for the recently addded acafh driver.
Be more precise in clockport(4).
2013-12-24 12:07:16 +00:00
wiz 0824426c83 Bump date for previous. 2013-12-24 01:42:32 +00:00
dholland 89cdc2771e Note the existence of /libdata. PR 48471 from David H. Gutteridge,
with a couple minor adjustments.
2013-12-23 17:44:05 +00:00
njoly 12eade2235 Assorted fixes. Kill a few uneeded paragraph macros, unbreak xref, and
numerous typos.
2013-12-23 12:50:56 +00:00
lneto 1c57b8e8aa renamed luacore to luasystm 2013-12-16 23:54:26 +00:00
matt e3a958c021 Back out change for bsd.lib.mk which skips objcopy -x for BE ARM.
Change OBJCOPYLIBFLAGS to keep $a/$d/$t symbols on BE ARM.
2013-12-16 21:34:16 +00:00
skrll 84c03d543e Provide ARM_APCS_FLAGS on arm and earm. 2013-12-16 19:06:41 +00:00
wiz 449f893950 New sentence, new line. 2013-12-16 00:59:37 +00:00
pgoyette 84f27a786b Mention the new kern.module.autotime variable. 2013-12-15 21:10:32 +00:00
joerg 69fd5d473d Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
2013-12-15 18:08:37 +00:00
christos 6d47ec32bb centralize the rpcgen flags and set for BSD output 2013-12-15 00:28:45 +00:00
matt a49b15d8d8 Don't strip local symbols for earmv7*eb images since that will break linking. 2013-12-13 02:47:45 +00:00
wiz d860f590d4 Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
matt 732b0a7b58 Describe MACHINES.${MACHINE_CPU}. <fixme>
Add sparc64 to MACHINES.sparc since sparc64 can be build as sparc.
2013-12-06 23:14:15 +00:00
matt 70922e5c64 Add MACHINES.${MACHINE_CPU} values. 2013-12-05 22:51:08 +00:00
matt 1b730ee018 add ${MKTARGET_CREATE} for tags 2013-12-05 22:49:33 +00:00
christos 3bd4fc7233 These don't need count anymore. 2013-12-01 00:17:14 +00:00
wiz 0246bab015 Very slightly more consistency in ordering in SYNOPSIS.
Fix a few typos. Remove superfluous Pp.
2013-11-28 16:45:36 +00:00
christos d4738dae6e fix typo 2013-11-27 16:30:12 +00:00
christos ac488d2d4d and a few more. 2013-11-27 16:27:48 +00:00
christos 418193b6ab forgot one 2013-11-27 16:24:31 +00:00
christos 82164e4678 Sync queue man pages with queue.h. 2013-11-27 16:23:00 +00:00
rmind d23bbd30da Update xcall(9). 2013-11-26 20:48:25 +00:00
rmind 86e1c41ade Mention kmem_intr(9) routines. 2013-11-26 20:47:26 +00:00
christos 0fda3adee7 remove CIRCLEQ pages. 2013-11-26 01:33:02 +00:00
wiz 06dfe20d1c Remove extra comma. 2013-11-23 17:40:43 +00:00
christos 9e7349a5e2 remove documentation for CIRCLEQ to discourage its use. 2013-11-23 14:54:02 +00:00
jruoho de32156f36 Don't be so pessimistic. 2013-11-20 18:13:16 +00:00
mbalmer 853a3f512e Document syslog(3lua). 2013-11-13 20:55:08 +00:00
joerg d0f0da0f65 Relink binaries if crti.o changes. 2013-11-11 10:24:53 +00:00
jmcneill 110a56db43 use -fno-unwind-tables when building arm modules 2013-11-09 22:40:15 +00:00
christos 987a47d93c turn off another gcc warning for m68k 2013-11-06 19:57:17 +00:00
spz acaf72ec02 Introduce a variable for security.conf, default empty, to list users
whose home is (allowed to be) owned by another user.

It's a separate variable and not just check_passwd_permit_dups so I can
make security shut up about my uucp users.

Fixes the second half of PR misc/36063
2013-11-06 19:37:05 +00:00
njoly 7112cd1564 Small macros cleanup. Do not call '.Bl -compact' and add .Pp before
each item. No output change.

ok mbalmer@.
2013-11-06 17:54:55 +00:00
mbalmer 2614a79925 Use the term "Lua modules" instead of "Lua libraries", list the modules
available.
2013-11-04 08:04:18 +00:00
christos ad3b972d11 ignore all -std=gnu patterns not just 99 2013-11-01 17:07:37 +00:00
mrg 94542b393a create mkdep output with a temporary file so that failures in
complation during .d creation don't leave an empty (stale) .d
file around to break future builds.

(hmm, probably could use .PRECIOUS here.)
2013-10-31 01:55:03 +00:00
msaitoh 06a7717d3b Remove extra period. 2013-10-30 04:16:44 +00:00
joerg 3292fd4145 Unbreak src/tools usage of C++. 2013-10-29 16:11:46 +00:00
hannken 65b1f85ab6 Vnode API cleanup pass 1.
- Make these defines and functions private to vfs_vnode.c:

  VC_MASK, VC_LOCK, DOCLOSE, VI_IANCTREDO and VI_INACTNOW
  vclean() and vrelel()

- Remove the long time unused lwp argument from vrecycle().

- Remove vtryget(), it is responsible for ugly hacks and doesn't
  look that effective.

Presented on tech-kern.

Welcome to 6.99.25
2013-10-29 09:53:51 +00:00
mbalmer 4ef07b4fe0 add pmf(9lua) man page 2013-10-29 09:40:43 +00:00
mbalmer 879fb8f4ed add a core(9lua) man page 2013-10-29 08:34:07 +00:00
mrg 27d21cc6e9 add MKDEPCXX, that is used for C++ files depend creation. also
add some missing ${COPTS.${.IMPSRC:T}} and ${CPUFLAGS.${.IMPSRC:T}}
to the dependancy rules.

this makes it possible to have C++ files .d files created with the
C++ compiler, and with the normal options for this file, which
means that we can build libstdc++-v3 from gcc 4.8.
2013-10-28 01:47:13 +00:00
mbalmer 12cb100757 add a sqlite(3lua) manual page 2013-10-27 12:47:54 +00:00
apb d07bacd5d2 Add man mage links for __debugused(3) and __diagused(3). 2013-10-27 11:56:18 +00:00
mbalmer 10538f71f4 missing word 2013-10-27 11:43:07 +00:00
wiz e34ba27af3 Fix date and remove superfluous comma. 2013-10-27 11:41:38 +00:00
apb 92e9e572dc vfs.wapbl.flush_disk_cache is more about metadata than data, and
more about safety in the event of power loss than safety in the
event of a crash.
2013-10-27 10:09:28 +00:00
apb 76864cf288 refer to __USE(3) 2013-10-27 10:05:15 +00:00
mbalmer 88ae889885 kill unused .El macro 2013-10-26 17:46:48 +00:00
njoly b1d0af8ad7 Kill extra El macro. 2013-10-26 17:06:51 +00:00
mbalmer 16ffcab878 first shot at documenting gpio(3lua) 2013-10-26 10:48:19 +00:00
nonaka 87abaea977 Add driver for ASIX AX88178a and AX88179 Ethernet interface.
Ported from OpenBSD.
2013-10-26 09:16:19 +00:00
mbalmer 66743a6785 .Xr intro(3lua) and intro(9lua) 2013-10-26 08:37:58 +00:00
mbalmer 0298fb9957 build and install intro(3lua) and intro(9lua) 2013-10-26 08:23:38 +00:00
mbalmer db33fa3850 fix Dt 2013-10-26 07:51:25 +00:00
mbalmer fe4e1d9790 place for 9lua man pages 2013-10-26 07:42:18 +00:00
mrg 0b5b0997ae define a HOST_LINK.cc always. 2013-10-26 03:26:57 +00:00
wiz c1b5b45790 Whitespace; better macro. 2013-10-25 22:19:41 +00:00
apb e0db893163 Rename _MNUMBERS to _MSECTIONS. The manual section identifiers
are not just numbers any more.

Also introduce a new variable, _MSECTIONREGEX, as a regular expression
to match any of the elements of ${_MSECTIONS}.  Use this instead of
\.[1-9][a-z]*.
2013-10-25 22:16:29 +00:00
wiz d27a216645 Typo fixes. 2013-10-25 22:15:02 +00:00
mbalmer 8b17f4a2ee add intro(3lua) 2013-10-25 15:27:03 +00:00
apb b3d7317ada Use markup in the descriptions of __diagused and __debugused. 2013-10-25 15:11:21 +00:00
apb 28fabf432b Document __diagused and __debugused 2013-10-25 14:46:59 +00:00
apb bcf09c165b Try to make this more compiler-neutral, and give both GCC and LLVM/Clang
as examples.
2013-10-25 14:41:08 +00:00
jdc 2b2120bf58 Allow the EEPROM size to be specified in the kernel configuration by
using flags.
Add the flags values, and configuration examples to the manual page.
2013-10-25 14:23:15 +00:00
apb f0bdf85100 Recognise .3lua and .9lua as man page extensions. Source
files like foo.3lua will result in installed files like
/usr/share/man/man3lua/foo.3lua, /usr/share/man/cat3lua/foo.0,
and /usr/share/man/html3lua/foo.html.
2013-10-25 10:45:01 +00:00
mbalmer 201342bc2e link the lua(4) man page 2013-10-24 21:55:00 +00:00
wiz 1408be80ee More formatting, typo fixes. 2013-10-24 09:49:51 +00:00
mbalmer 96d1a832b7 manual page for lua(4) 2013-10-24 09:34:47 +00:00
christos 67ff86e929 change if HAVE_GCC is defined 2013-10-18 16:06:52 +00:00
wiz d19876761f Remove trailing whitespace. 2013-10-17 20:43:49 +00:00
jnemeth 20362f9ef2 - DPRINTF(("val is %d\n", val)); -> DPRINTF(("val is %d\n", var));
- mdoclint:
  - .Nd should not end with period
  - remove trailing spaces
2013-10-17 19:37:56 +00:00
christos 739aabb0b4 add non-portability caveat. 2013-10-17 16:50:48 +00:00
christos eb78d644f3 describe the __USE macro 2013-10-17 16:50:36 +00:00
gson 6060a7c9d9 Don't capitalize "it" in the middle of a sentence. 2013-10-17 13:17:50 +00:00
jdc a6cc3df90d Add lmenv.4 to the manual page makefile and to the set list. 2013-10-15 19:20:18 +00:00
jdc 15a46c19fc Add manual page for the LM81, LM87, and compatible iic hardware monitors
(lmenv).
2013-10-15 19:14:41 +00:00
skrll 6d846607cd Basic man page for dwctwo. 2013-10-15 15:10:57 +00:00
rkujawa a6683db2d3 s/with resolution/with a resolution/
Noticed by mbalmer@.
2013-10-15 14:51:58 +00:00
rkujawa 8f3ee4010c Update man page to reflect latest changes (added sysctl knobs for temperature
limit and hysteresis).
2013-10-15 13:45:09 +00:00
rkujawa d0dcb38d23 Add information about user settable resolution via sysctl. 2013-10-15 11:22:58 +00:00
joerg aa6e9499ca Rename USE_LIBGCC to HAVE_LIBGCC and retry using it as flag on unwind.h. 2013-10-14 16:00:16 +00:00
joerg d06922ddf4 Include compiler-rt and libunwind in libc for Clang/x86 builds. 2013-10-14 01:30:21 +00:00