Page MenuHomeFreeBSD
Feed Advanced Search

Oct 12 2017

emaste committed rS324560: allow posix_fallocate in capability mode.
allow posix_fallocate in capability mode
Oct 12 2017, 3:46 PM
emaste closed D12640: libc: allow posix_fallocate in capability mode.
Oct 12 2017, 3:46 PM
emaste updated the diff for D12640: libc: allow posix_fallocate in capability mode.

Require CAP_PWRITE (CAP_WRITE | CAP_SEEK) for posix_fallocate.

Oct 12 2017, 1:39 AM

Oct 11 2017

emaste added a comment to D12640: libc: allow posix_fallocate in capability mode.

Per discussion on the recent capsicum call, posix_fallocate could require CAP_PWRITE (aka CAP_WRITE | CAP_SEEK) instead of just CAP_WRITE.

Oct 11 2017, 11:26 PM
emaste added a comment to D12639: Enable VIMAGE by default.

๐Ÿ‘ (thumbs up) from me. I've applied this to my local test tree.

Oct 11 2017, 7:50 PM
emaste created D12640: libc: allow posix_fallocate in capability mode.
Oct 11 2017, 7:46 PM
emaste committed rS324536: libunwind: use upstream patch to disable executable stacks.
libunwind: use upstream patch to disable executable stacks
Oct 11 2017, 7:26 PM
emaste committed rS324531: OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block.
OptionalObsoleteFiles: remove diff from MK_GNU_DIFF=no block
Oct 11 2017, 2:34 PM
emaste committed rS324510: MFC r309151: Use explicit 0x200000 for the amd64 kernel physaddr.
MFC r309151: Use explicit 0x200000 for the amd64 kernel physaddr
Oct 11 2017, 12:32 AM

Oct 10 2017

emaste committed rS324509: sysctl.9: document CTLFLAG_CAPRD and CTLFLAG_CAPWR.
sysctl.9: document CTLFLAG_CAPRD and CTLFLAG_CAPWR
Oct 10 2017, 11:54 PM
emaste committed rS324507: growfs: ANSIfy cgckhash().
growfs: ANSIfy cgckhash()
Oct 10 2017, 9:16 PM
emaste committed rS324503: uart: detect 256-byte FIFOs.
uart: detect 256-byte FIFOs
Oct 10 2017, 8:08 PM

Oct 9 2017

emaste accepted D12609: patch(1): Don't overrun line buffer if line is not completely malformed.
Oct 9 2017, 12:30 PM
emaste added a comment to D12037: Fix freebsd-update(8) erroneous message and exit status when "fetch install" used .
In D12037#260784, @ygy wrote:

@emaste Can I commit it myself?

PR: 190660
Reviewed by: allanjude
Approved by: emaste
Differential_Revision: https://reviews.freebsd.org/D12037

Oct 9 2017, 11:44 AM

Oct 7 2017

emaste committed rS324398: MFC r323675: libsysdecode: report invalid cap_rights_t.
MFC r323675: libsysdecode: report invalid cap_rights_t
Oct 7 2017, 8:20 PM
emaste committed rS324397: MFC r323405: newvers.sh: speed up failing git-svn revision search.
MFC r323405: newvers.sh: speed up failing git-svn revision search
Oct 7 2017, 8:18 PM
emaste committed rS324396: MFC r323394: newvers.sh: accept "git-svn-id:" at the start of a line only.
MFC r323394: newvers.sh: accept "git-svn-id:" at the start of a line only
Oct 7 2017, 8:17 PM
emaste committed rS324395: MFC r323438: make-memstick.sh: use UFSv2.
MFC r323438: make-memstick.sh: use UFSv2
Oct 7 2017, 8:14 PM

Oct 6 2017

emaste added a comment to D12298: libc: remove gets.

readelf -a output collected at https://people.freebsd.org/~emaste/gets/

Oct 6 2017, 7:07 PM
emaste added a comment to D12298: libc: remove gets.

exp-run is PR222796.

Oct 6 2017, 3:12 PM
emaste updated subscribers of D12298: libc: remove gets.
Oct 6 2017, 12:49 PM

Oct 5 2017

emaste updated subscribers of D12298: libc: remove gets.
Oct 5 2017, 6:25 PM
emaste updated the diff for D12298: libc: remove gets.

leave gets in old symver

Oct 5 2017, 6:23 PM

Oct 4 2017

emaste accepted D12590: hexdump: Remove expected test failures for now succeeding tests.
Oct 4 2017, 5:23 PM
emaste committed rS324279: arch.7: correct statement about time_t size.
arch.7: correct statement about time_t size
Oct 4 2017, 2:40 PM

Oct 2 2017

emaste added inline comments to D12569: Updates to Tiers..
Oct 2 2017, 7:31 PM
emaste accepted D12569: Updates to Tiers..

LGTM as a first set of changes.

Oct 2 2017, 5:51 PM
emaste accepted D12037: Fix freebsd-update(8) erroneous message and exit status when "fetch install" used .
Oct 2 2017, 5:43 PM

Sep 27 2017

emaste accepted D12328: sysutils/py-diffoscope: Update to 86.

Nope, only on the doc/zh_CN tree ...

Sep 27 2017, 5:25 PM

Sep 24 2017

emaste added a comment to D12481: Add my author entity.

One comment from https://wiki.freebsd.org/Phabricator - for future reviews please create diffs with full context as it makes review easier in the UI. One of:

git diff -U999999 other-branch
svn diff --diff-cmd=diff -x -U999999
Sep 24 2017, 9:23 AM

Sep 23 2017

emaste committed rS323951: Revert r323935 as it broke the build.
Revert r323935 as it broke the build
Sep 23 2017, 12:36 PM

Sep 22 2017

emaste added a comment to D8753: Introduce libcaspermock.

From in-person working group session, a suggestion to rename libcasper.h to libcasper.h.in and run unifdef on it during install.

Sep 22 2017, 1:15 PM ยท capsicum
emaste added a comment to D12421: Compile loader as Little-Endian on PPC64/POWER8.

For future updates please include full context (e.g. git diff -U9999)

Sep 22 2017, 11:17 AM
emaste committed rS323903: MFC r323611: fastmatch.h: remove duplicate #defines.
MFC r323611: fastmatch.h: remove duplicate #defines
Sep 22 2017, 6:16 AM

Sep 21 2017

emaste accepted D8754: Convert ping to use libcaspermock when Casper is disabled..
Sep 21 2017, 1:43 PM ยท capsicum
emaste committed rS323862: MFC r323587: octeon sdk: initialize variable to quiet Clang warning.
MFC r323587: octeon sdk: initialize variable to quiet Clang warning
Sep 21 2017, 12:32 PM

Sep 20 2017

emaste committed rS323837: MFC r323539: qlnx: exclude if WITHOUT_SOURCELESS_UCODE set.
MFC r323539: qlnx: exclude if WITHOUT_SOURCELESS_UCODE set
Sep 20 2017, 10:11 PM

Sep 17 2017

emaste accepted D12400: Update to file 5.32.
Sep 17 2017, 6:14 PM
emaste added a comment to D12391: libsysdecode: report invalid cap_rights_t.
In D12391#257162, @cem wrote:

I see. I was looking at the C file subr_capability.c and didn't know to look in that header.

Sep 17 2017, 4:09 PM
emaste committed rS323675: libsysdecode: report invalid cap_rights_t.
libsysdecode: report invalid cap_rights_t
Sep 17 2017, 2:04 PM
emaste closed D12391: libsysdecode: report invalid cap_rights_t.
Sep 17 2017, 2:04 PM
emaste added a comment to D12391: libsysdecode: report invalid cap_rights_t.

From sys/sys/caprights.h:

/*
 * The top two bits in the first element of the cr_rights[] array contain
 * total number of elements in the array - 2. This means if those two bits are
 * equal to 0, we have 2 array elements.
 * The top two bits in all remaining array elements should be 0.
 * The next five bits contain array index. Only one bit is used and bit position
 * in this five-bits range defines array index. This means there can be at most
 * five array elements.
 */

and sys/kern/subr_capability.c:

static __inline int
right_to_index(uint64_t right)
{
        static const int bit2idx[] = {
                -1, 0, 1, -1, 2, -1, -1, -1, 3, -1, -1, -1, -1, -1, -1, -1,    
                4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1  
        };
        int idx;
Sep 17 2017, 2:00 PM

Sep 16 2017

emaste created D12391: libsysdecode: report invalid cap_rights_t.
Sep 16 2017, 1:31 AM

Sep 15 2017

emaste added a comment to D12380: correct cap_rights_* varargs use.
In D12380#256984, @ed wrote:

The reason that empty calls are disallowed is because that would expand to cap_rights_is_set(, 0ULL); notice the bad comma. The advantage of the existing code is that it carefully avoids using ##__VA_ARGS__, which is only permitted in C (not C++) as of C99.

Sep 15 2017, 9:42 PM
emaste added a reviewer for D12380: correct cap_rights_* varargs use: ed.
Sep 15 2017, 8:34 PM
emaste committed rS323623: rename(2): document capability mode errors.
rename(2): document capability mode errors
Sep 15 2017, 8:12 PM
emaste closed D12339: rename(2): document capability mode errors.
Sep 15 2017, 8:12 PM
emaste closed D12343: open(2): update ENOTCAPABLE error for ...
Sep 15 2017, 8:06 PM
emaste committed rS323622: open(2): update ENOTCAPABLE description for .. lookups.
open(2): update ENOTCAPABLE description for .. lookups
Sep 15 2017, 8:06 PM
emaste accepted D12384: Add missing newline after unknown MIPS-specific dynamic entries..
Sep 15 2017, 7:31 PM
emaste added a comment to D12380: correct cap_rights_* varargs use.
In D12380#256853, @cem wrote:

Probably the goal of the original version was to avoid the non-standard "foo, ## bar" compiler extension. I am ok with the change, though.

Sep 15 2017, 4:00 PM
emaste accepted D12381: bsdgrep: disable TRE implementation by default.
Sep 15 2017, 3:53 PM
emaste created D12380: correct cap_rights_* varargs use.
Sep 15 2017, 3:02 PM
emaste closed D12375: fastmatch.h: remove duplicate #defines.
Sep 15 2017, 1:34 PM
emaste committed rS323611: fastmatch.h: remove duplicate #defines.
fastmatch.h: remove duplicate #defines
Sep 15 2017, 1:34 PM
emaste created D12375: fastmatch.h: remove duplicate #defines.
Sep 15 2017, 1:35 AM
emaste committed rS323607: Update OptionalObsoleteFiles.inc with NTP docs.
Update OptionalObsoleteFiles.inc with NTP docs
Sep 15 2017, 12:54 AM

Sep 14 2017

emaste committed rS323587: octeon sdk: initialize variable to quiet Clang warning.
octeon sdk: initialize variable to quiet Clang warning
Sep 14 2017, 4:41 PM
emaste added a comment to D12370: loader: biosmem.c cstyle cleanup.

I agree with @imp, for future changes like this you could just go ahead and commit the style / whitespace fix and then submit the review from that.

Sep 14 2017, 3:37 PM
emaste accepted D12371: Recognize NT_PTLWPINFO and NT_ARM_VFP in FreeBSD ELF cores..
Sep 14 2017, 3:34 PM
emaste added a comment to D12368: loader: biosmem allocate heap just below 4GB.

The whitespace changes make this a bit hard to read - do you have them as a separate local change that could be committed first?

Sep 14 2017, 12:48 PM
emaste committed rS323571: MFC r323448: bsdinstall: Ignore error return from newaliases(1).
MFC r323448: bsdinstall: Ignore error return from newaliases(1)
Sep 14 2017, 1:24 AM
emaste committed rS323570: MFC r321226: bsdinstall: improve checksum mismatch error for snapshots.
MFC r321226: bsdinstall: improve checksum mismatch error for snapshots
Sep 14 2017, 12:41 AM
emaste committed rS323569: MFC r316802 (cem): bsdinstall(8): Sprinkle a snprintf to fixed size buffer.
MFC r316802 (cem): bsdinstall(8): Sprinkle a snprintf to fixed size buffer
Sep 14 2017, 12:39 AM
emaste committed rS323568: MFC r323448: bsdinstall: Ignore error return from newaliases(1).
MFC r323448: bsdinstall: Ignore error return from newaliases(1)
Sep 14 2017, 12:35 AM

Sep 13 2017

emaste accepted D12284: gcc builds: reenable -Wstrict-overflow.
Sep 13 2017, 7:58 PM
emaste accepted D9680: Increase EFI MSDOSFS image size to 512Kib.
Sep 13 2017, 1:21 PM
emaste committed rS323539: qlnx: exclude if WITHOUT_SOURCELESS_UCODE set.
qlnx: exclude if WITHOUT_SOURCELESS_UCODE set
Sep 13 2017, 12:16 PM
emaste accepted D12317: Deorbit catman. It's useless on modern hardware..
Sep 13 2017, 12:08 PM
emaste added a comment to D10931: boot1 generate-fat: generate all templates at once.

Indeed, make that D9680.

Sep 13 2017, 12:22 AM
emaste added a comment to D12343: open(2): update ENOTCAPABLE error for ...
In D12343#255946, @kib wrote:

Perhaps also mention that dotdot is not allowed on non-local fs, unless vfs.lookup_cap_dotdot ise set.

Sep 13 2017, 12:19 AM
emaste added a comment to D10931: boot1 generate-fat: generate all templates at once.

I'm unsure as to what needs to happen now. Do I need to do anything to my patches yet?

Sep 13 2017, 12:14 AM

Sep 12 2017

emaste created D12343: open(2): update ENOTCAPABLE error for ...
Sep 12 2017, 3:37 PM
emaste added a comment to D12339: rename(2): document capability mode errors.

Hrm, although the ENOTCAPABLE errors should really be augmented with "... and the process is in capability mode."

Sep 12 2017, 1:12 PM
emaste created D12339: rename(2): document capability mode errors.
Sep 12 2017, 1:10 PM
emaste committed rS323476: make-memstick.sh: use 'set -e' to abort if any step fails.
make-memstick.sh: use 'set -e' to abort if any step fails
Sep 12 2017, 12:44 AM

Sep 11 2017

emaste committed rS323448: Ignore error return from newaliases(1).
Ignore error return from newaliases(1)
Sep 11 2017, 5:39 PM
emaste added a comment to D9680: Increase EFI MSDOSFS image size to 512Kib.
In D9680#239393, @imp wrote:

Why not 50MB instead of 512kb? That's stupidly small and precludes any and all future use of UEFI programs as well as boot block bloat. bz2 compressed, the size difference is trivial.

Sep 11 2017, 3:53 PM
emaste committed rS323438: make-memstick.sh: use UFSv2.
make-memstick.sh: use UFSv2
Sep 11 2017, 2:42 PM
emaste closed D12231: make-memstick.sh: use UFSv2.
Sep 11 2017, 2:42 PM
emaste committed rS323437: revert unintentional changes from r323436.
revert unintentional changes from r323436
Sep 11 2017, 2:36 PM
emaste committed rS323436: boot1: remove BOOT1_MAXSIZE default value.
boot1: remove BOOT1_MAXSIZE default value
Sep 11 2017, 2:33 PM
emaste committed rS323407: boot1 generate-fat: generate all templates at once.
boot1 generate-fat: generate all templates at once
Sep 11 2017, 12:37 AM
emaste closed D10931: boot1 generate-fat: generate all templates at once.
Sep 11 2017, 12:37 AM
emaste committed rS323405: newvers.sh: speed up failing git-svn revision search.
newvers.sh: speed up failing git-svn revision search
Sep 11 2017, 12:14 AM

Sep 10 2017

emaste committed rS323394: newvers.sh: accept "git-svn-id:" at the start of a line only.
newvers.sh: accept "git-svn-id:" at the start of a line only
Sep 10 2017, 7:12 PM
emaste added inline comments to D10931: boot1 generate-fat: generate all templates at once.
Sep 10 2017, 2:20 AM

Sep 9 2017

emaste added a comment to D10931: boot1 generate-fat: generate all templates at once.
In D10931#255107, @imp wrote:

Once again I ask: where are we with makefs and FAT filesystems? :)

Sep 9 2017, 10:22 PM
emaste added a comment to D10931: boot1 generate-fat: generate all templates at once.

maybe switch to xz (doesn't save any space over bzip, but is one of the only remaining uses of bzip in buildworld)

Sep 9 2017, 8:52 PM
emaste added a comment to D12295: Kill gets().

D12298 is what I tried during Vixie's talk

Sep 9 2017, 8:33 PM
emaste created D12298: libc: remove gets.
Sep 9 2017, 8:33 PM
emaste updated the diff for D10931: boot1 generate-fat: generate all templates at once.

disallow arch-specific differences in fs images by enforcing known 0x2d offset

Sep 9 2017, 7:31 PM
emaste added inline comments to D10931: boot1 generate-fat: generate all templates at once.
Sep 9 2017, 7:18 PM
emaste updated the diff for D10931: boot1 generate-fat: generate all templates at once.

Update usage message as suggested by @ngie

Sep 9 2017, 7:15 PM
emaste added inline comments to D10931: boot1 generate-fat: generate all templates at once.
Sep 9 2017, 7:12 PM
emaste added a comment to D12290: Add AT_HWCAP and AT_EHDRFLAGS on all platforms..

Looks good to me.

Sep 9 2017, 2:39 PM
emaste committed rS323366: MFC r320069: Add ZFS to Linux statfs ftype.
MFC r320069: Add ZFS to Linux statfs ftype
Sep 9 2017, 2:30 PM
emaste added a comment to D12284: gcc builds: reenable -Wstrict-overflow.

It appears to have been in upstream: ftp://ftp.iana.org/tz/code/zic.c (see oadd).

As for when we might sync with upstream next, I have no idea. Last sync appears to have been in 2010.

Sep 9 2017, 1:32 PM
emaste added inline comments to D12255: Add support for Armada 3700 EHCI.
Sep 9 2017, 1:29 PM ยท arm64
emaste added inline comments to D12250: Introduce UART driver module for Armada 3700.
Sep 9 2017, 1:26 PM ยท arm64