Commit Graph

215492 Commits

Author SHA1 Message Date
kiyohara 1656a75508 Fix format of specify for scsi disk. s,/dev/disk/scsi/0/0/0,/dev/disk/scsi/000, 2013-01-03 14:03:39 +00:00
kiyohara ff578340f4 Add omapscm, iic and tps65950pm. 2013-01-03 13:33:51 +00:00
dsl 44483cabc1 Unset HAVE_DEVNAME for tools build.
config only checks for the symbol in libc, we need the correct prototype.
Which is excluded even on NetBSD (_NETBSD_SOURCE isn't defined in stdlib.h).
2013-01-03 13:28:41 +00:00
dsl f1ca281eda Avoid exposing some headers to userland 2013-01-03 13:19:32 +00:00
mbalmer 732ce68d4b Add a southeastern china airport. 2013-01-03 12:55:18 +00:00
para 2277afb1ef explicitly include sys/resource.h 2013-01-03 10:12:36 +00:00
martin e52a2b055b Rearange VA layout for 64 bit kernels, as suggested by Lars Heidieker:
move the dynamic kernel memory past 4GB (basically unlimiting it) and
use the now freed address range past kernel data upto 2GB for modules.
2013-01-03 09:40:55 +00:00
matt 3ddeb9ed7e This is a working version of memcpy implemented using NEON instructions.
Still needs tuning as it is still about 15% than the non-NEON version.
2013-01-03 09:34:44 +00:00
martin 9cb1a35373 There is no point in trying to tell userland access from kernel access by
looking at the address on sparc64 - so, let us believe the comment and always
deal with kernel access here.
While there, fix write access to kernel text for bigger kernels.
2013-01-03 07:51:48 +00:00
tron 3e3a2f916a Note that Postfix 2.9.5 was imported. 2013-01-02 22:34:05 +00:00
tron a536ee5124 Install documentation and manual pages for Postfix's memcache client support. 2013-01-02 22:33:19 +00:00
dsl 0e82f4eb77 include limits.h for CHAR_MIN 2013-01-02 22:28:42 +00:00
tron 888f2d7310 Include "sys/ioctl.h" for the prototype of ioctl(2) which fixes the build. 2013-01-02 21:19:13 +00:00
tron d561406f71 Fix build of Postfix 2.9.5. 2013-01-02 19:45:48 +00:00
dsl f39855d55a This is included into user-programs by signal.h, it shouldn't be
pulling in machine/fpu.h - which doesn't describe anything userspace
(directly) needs.
2013-01-02 19:40:23 +00:00
dsl cb5a1df091 Only expose the bulk of sys/proc.h and sys/lwp.h if _KERNEL or _KMEMUSER
is defined.
i386 and amd64 build ok.
2013-01-02 19:39:04 +00:00
dsl 7877a73845 Expose the DTYPE_xxx (names) defines even if _KERNEL isn't defined.
There is no other excuse for including this file in userspace.
2013-01-02 19:35:43 +00:00
dsl aabc00012f Only define 'struct kinfo_proc' if _KERNEL or _KMEMUSER is defined.
All 'normal' programs should be using kinfo_proc2 instead.
2013-01-02 19:29:40 +00:00
dsl 438bdb2a64 #include sys/ioctl.h 2013-01-02 19:24:30 +00:00
tron cf33639979 Resolve conflicts from last import. 2013-01-02 19:18:29 +00:00
tron a30b880ed6 Import Postfix 2.9.5. Major changes since version 2.8.x:
- Support for long, non-repeating, queue IDs (queue file names). The
  main benefit of non-repeating names is simpler logfile analysis. See
  the description of "enable_long_queue_ids" in postconf(5) for
  details.
- Memcache client support, and support to share postscreen(8) and
  verify(8) caches via the proxymap server. Details about memcache
  support are in memcache_table(5) and MEMCACHE_README.
- Gradual degradation: if a database is unavailable (can't open, most
  read or write errors) a Postfix daemon will log a warning and
  continue providing the services that don't depend on that table,
  instead of immediately terminating with a fatal error. To terminate
  immediately when a database file can't be opened, specify
  "daemon_table_open_error_is_fatal = yes".
- Revised postconf(1) command. It warns about unused parameter
  name=value settings in main.cf or master.cf (likely mistakes),
  understands "dynamic" parameter names such as names that depend on
  the name of a master.cf entry (finally, "postconf -n" shows all
  parameter settings), and it can display main.cf and master.cf in a
  more user-friendly format (postconf -nf, postconf -Mf).
- Read/write deadline support in the SMTP client and server to defend
  against application-level DOS attacks that very slowly write or read
  data one byte at a time.
2013-01-02 18:58:23 +00:00
dsl 1039c134c9 Expose the pseudo-errors if _KMEMUSER is defined (as well as _KERNEL).
CVS :----------------------------------------------------------------------
2013-01-02 18:51:53 +00:00
dsl e3bc48d8f4 Put the kernel function prototypes inside #ifdef _KERNEL 2013-01-02 18:50:07 +00:00
dsl d208828f20 These files don't need compat/osf1/osf1_cvt.h 2013-01-02 18:48:22 +00:00
dsl 8a7a69a21d amd64's machine/reg now includes fpu.h (to define 'struct fxsave64)
so no need to include signal.h here - which shouldn't result in
the definitions in fpu.h being included anyway.
2013-01-02 18:44:46 +00:00
dsl 3a052f167f There is some very dubious code to locate the values of
tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
so set CPPFLAGS+=      -D_KMEMUSER
2013-01-02 18:41:49 +00:00
christos 597d5309a5 fix mtree sets 2013-01-02 18:12:57 +00:00
christos 05cc565867 Test the netbsd and mtree flavors. 2013-01-02 18:11:44 +00:00
matt 449ccb380a Don't define __BIT/__BITS if __ASSEMBLER__ is defined.
(since they use C syntax they won't work anyways).
2013-01-02 17:02:13 +00:00
dsl 6c6b743ee5 I've NFI why this code has userspace stuff playing with 'struct proc *'
nor why it uses &p0 as a magic constant (rather than NULL).
Re-instate the definition of p0, but enable the 'fake' definition
  of 'struct proc' if the relevant part of sys/proc.h seems to have
  been #if'ed away.
Should fix the build.
2013-01-02 16:31:24 +00:00
dsl 29dbe6c092 # There is some very dubious code to locate the values of
# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
so add: CPPFLAGS+=     -D_KMEMUSER
2013-01-02 15:50:34 +00:00
matt 013f63afab Deal with _LIBC (aliases, etc).
Add missing #endif.
2013-01-02 15:38:03 +00:00
matt 7910d3cfb5 Rename strlen_armv6.S to strlen.S since this is no longer armv6 dependent. 2013-01-02 15:24:21 +00:00
apb e5b434bcf4 Really expand the name, not the definition, as the comment says. 2013-01-02 14:05:04 +00:00
christos eeca57e31f we define HAS_ISBLANK in the Makefile 2013-01-02 13:46:17 +00:00
martin 236eac060e Remove check for GLOB_NOCHECK - the behaviour has been changed again, so it
will return a modified pattern.
2013-01-02 11:28:48 +00:00
dsl a97d5b18ca pstat is a kmem groveller, set -D_KMEMUSER in CPPFLAGS 2013-01-02 10:43:11 +00:00
dsl b374a5685e Explicitly include sys/resource.h 2013-01-02 10:36:07 +00:00
dsl be6d96d7d9 Explicitly include sys/ioctl.h 2013-01-02 10:33:49 +00:00
dsl 07465819ee Replace alloca(256) with an array.
The code ended up using alloca() from libc - which 'just can't work' (tm).
It is also pointless!
2013-01-02 10:33:19 +00:00
skrll fa22dbb3b7 Use NULL not 0 for pointer assignment. 2013-01-02 09:53:58 +00:00
skrll 62a1ab84bd Correct a comment 2013-01-02 09:50:26 +00:00
skrll 9b7730a669 KNF a comment. 2013-01-02 09:49:14 +00:00
matt daf4ca4713 Add an assembly version of strcpy/strncpy/strlcpy.
(they all use a common source with defines to determine which to build).
2013-01-02 05:54:58 +00:00
jmcneill 612297b23e If EDID is supplied, parse and print it. While here, try not to crash
if is_console is false.
2013-01-01 23:22:44 +00:00
jmcneill 63e40cb108 Read EDID data on Beagleboard and pass it to omapfb driver if found. 2013-01-01 23:21:26 +00:00
jmcneill 39c8eada8e add a function to lookup the i2c controller tag for the specified device_t 2013-01-01 23:20:24 +00:00
dsl b4041ccef0 Comment out the unused 'struct proc p0;'
This is userspace, it isn't supposed to know what a 'struct proc' is.
2013-01-01 19:03:26 +00:00
dsl f337b6c74a This needs an explicit include of sys/ioctl.h.
XXX: There is some crappy code in here :-)
2013-01-01 19:02:19 +00:00
dsl 249ad9a058 Explicitly include sys/ioctl.h 2013-01-01 19:01:10 +00:00