Commit Graph

17351 Commits

Author SHA1 Message Date
justin
103543d43b Add errno translation for bio operations 2014-08-25 10:21:39 +00:00
rmind
209a62dda0 npf_config_submit: finally, include the saved connections. 2014-08-24 20:37:35 +00:00
matt
453980f6b8 Assume anything not vax has IEEEFP. 2014-08-24 17:07:00 +00:00
pooka
82dada912f RCS Id police (because we can. or have you heard of git id police?) 2014-08-24 14:37:31 +00:00
pooka
de743a993f * attempt to clarify what "POSIX" means
* link to Platforms page on wiki for a list of known implementation
2014-08-24 14:35:27 +00:00
matt
cc87ea3a00 #if 0 some code not in use yet 2014-08-23 02:25:23 +00:00
matt
38dcdc34d9 Minimize differences between powerpc and powerpc64
Fix powerpc64 assembly to use right instructions for 64bit CPUs.
Use hidden for __curbrk and __minbrk to avoid GOT/TOC relocations.
2014-08-23 02:24:22 +00:00
justin
aaf730d309 Add missing include 2014-08-20 12:09:15 +00:00
manu
fb724fffd1 Remove usless warning that happens often with direct IO 2014-08-19 15:29:14 +00:00
christos
f8c3486fb6 fix param name 2014-08-18 07:33:21 +00:00
matt
d28139700f VAX does need __clzsi2 2014-08-17 16:14:59 +00:00
christos
0a7d28b495 remove extra initialization 2014-08-17 06:11:48 +00:00
wiz
70e44a6c96 Bump date for previous. 2014-08-16 21:50:15 +00:00
manu
beafd5bc7c Removed unimplemented mmap and seek method. seek's declaration caused
seek request to be passed backand forth between kernel and userland
while we did nothing about them.
2014-08-16 16:31:15 +00:00
manu
781f78b809 Use just introduced open2 PUFFS method and its PUFFS_OPEN_IO_DIRECT oflag
to implement FUSE's OPEN_IO_DIRECT, by which the filesystem tells the kernel
that read/write to the file should bypass the page cache.

Remove a warning about read beyond EOF which will now normally appear when
page cache is bypassed.
2014-08-16 16:28:43 +00:00
manu
ccfb03f9b0 Add an open2 method, like open but with an additionnal oflags used
by the filesystem to send back information about the file.
This is used to implement PUFFS_OPEN_IO_DIRECT by which the filesystem
tells the kernel that read/write should bypass the page cache.
2014-08-16 16:25:44 +00:00
christos
b4cf015091 Reduce diffs with upstream by automatically defining INITIALIZE as it was
intended.
2014-08-16 16:22:21 +00:00
christos
f31197977a gcc on the sparc needs help with variables it thinks are unitialized, but are not. 2014-08-16 10:38:43 +00:00
christos
3ea928643b Fix typo in comment (Tobias Stoeckmann) 2014-08-15 13:32:53 +00:00
martin
d3d55ddfdd Intialize dstname - the invariant combination with dstlen is too complex
for gcc to follow.
2014-08-15 13:20:29 +00:00
christos
3ad51082af merge tzcode2014f via patch 2014-08-15 11:04:07 +00:00
joerg
d213e5903a [] -> () 2014-08-13 15:41:21 +00:00
joerg
bd7693847a Spell LdAddr consistently 2014-08-13 15:19:22 +00:00
joerg
9074b7ff29 Use the lint path as workaround for Clang on 32bit PPC for now.
Document this hack.
2014-08-13 14:43:48 +00:00
joerg
edff4300ae powerpc64 uses the same sources as powerpc and needs the long double as
double-double sources.
2014-08-13 14:41:45 +00:00
pooka
df2711f4e7 In case of no dup2'd fd's, make sure that F_CLOSEM for the
rump kernel starts from 0.

Fixes rumphijack fdoff test (notably, this bug had nothing to do with
fdoff, and was exposed >3 years after writing the test when rump kernels
started providing fd's 0/1/2)
2014-08-12 23:47:09 +00:00
rmind
670c10ba87 - Add and use npf_alg_export().
- npf_conn_import: handle NAT metadata correctly.
- npf_nat_newpolicy: restore the policy ID.
- npfctl_load: fix error code handling for the limit cases.
- npf_config_import: fix the inverted logic.
- npfctl_load: improve error handling.
2014-08-11 23:48:01 +00:00
mrg
6cdb313ef0 revert parts of 1.163 that affect the x86 build.
possibly, we want to build the i386 fenv.c for compat build, but they
seem largely compatible and for now, just go back to what we had before
that wasn't breaking the build or generating bug reports.
2014-08-11 08:20:57 +00:00
matt
810b61bb1a MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU 2014-08-10 23:39:08 +00:00
matt
11614bb2b2 MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU 2014-08-10 23:25:49 +00:00
joerg
b32c7c5ab8 Add -mfpu=vfp for fenv.c, since it gets those instructions from
machdep/armreg.h
2014-08-10 20:48:34 +00:00
rmind
d0850273a2 - Add npf_ruleset_export(), npf_rule_export() and npf_nat_policyexport().
- Split off npf_conn_export().  Add npf_ifmap_getname() and use it to save
  the interface name; pick it up on npf_conn_import().
- Misc fixes.  Bump NPF_VERSION.
2014-08-10 19:09:43 +00:00
joerg
76ef534724 If LINT code path uses memcpy, it should also include string.h. 2014-08-10 17:55:08 +00:00
isaki
ef13227625 Improve the code. %sp@(4) is already loaded in %fp0.
PR/49083 (2)
2014-08-10 13:30:43 +00:00
isaki
914e175cb7 Remove a meaningless conditional branch.
PR/49083 (1)
2014-08-10 13:29:10 +00:00
joerg
604b984032 Add the not-yet-used IEEE quad support files. 2014-08-10 10:15:39 +00:00
matt
547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt
beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
manu
ac7134332d - Make sure non root users cannot access system namespace attributes
- honour namespace specification when listing attributes
- Also fix message memory leak introduced by previous commit
2014-08-10 03:22:33 +00:00
manu
6a9d039fd1 getextattr: fix attribute length being reported to caller. If buffer
is too small, return ENORANGE.

Caught by glusterFS regression tests
2014-08-09 19:06:50 +00:00
manu
4bef47b350 Send GETATTR to filesystem for removed but still-open files, as
it is the expected behavior (bug caught by glusterFS regression tests)
2014-08-09 03:17:11 +00:00
apb
0b92f0fef9 Ue ${GZIP_N_FLAG} instead of -n when setting GZIPFLAGS or GZIP_FLAGS.
This will allow -nT instead of just -n to be passed to pigz.
2014-08-05 15:45:49 +00:00
riastradh
19aeab521f Rework minherit(2) man page into a table.
XXX Do we not guarantee page-granularity inheritance?  Cursory glance
at uvm suggests we do -- can we nix the caveats about regions vs
pages?
2014-08-05 15:01:03 +00:00
wiz
87561671c1 defintion -> definition 2014-08-03 19:14:24 +00:00
rmind
c2b1c6cc23 Cross-link npf(7). 2014-08-03 00:02:56 +00:00
christos
be225fdda5 PR/49045: Tetsuya Isaki: remove remaining caddr_t in ptrace(2) 2014-07-28 08:10:23 +00:00
justin
28e2f06e08 Clean up error handling in rumpuser_init() 2014-07-25 14:00:31 +00:00
wiz
ce9ef29908 Serial comma, more markup, remove trailing whitespace. 2014-07-25 10:21:34 +00:00
wiz
d882c3d502 Sort errors. Whitespace nits. 2014-07-25 08:47:42 +00:00
wiz
03f93851e3 Sort SEE ALSO. 2014-07-25 08:44:54 +00:00