summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-18If ugflag (indicating a character from the file being parsed has beenKenneth R Westerback
unget()'ed) is set, then properly set the lexchar position back one in get_token() so more error messages put the '^' in the proper spot.
2014-01-18Remove superfluous assignment to local variable 'val' just beforeKenneth R Westerback
exiting.
2014-01-18involuntary sneak preview, revertMarc Espie
2014-01-18...and sort SHA256 properlyMarc Espie
2014-01-18Make parse_warn() messages consistantly use 'expecting' ratherKenneth R Westerback
than occasionally 'expected'. End all with a '.'.
2014-01-18caching a bit more tricky... problem noticed by naddy@Marc Espie
2014-01-18Never silently consume the following statement when unexpectedlyKenneth R Westerback
encountering a ';'. I.e. when checking the token type, 'skip_to_semi()' after 'parse_warn()' only when the parsed token wasn't a ';'.
2014-01-18correct crypto lingo; ok espie@Christian Weisgerber
2014-01-17if the hardware is too busy or its queues are too full, return XS_BUSY,David Gwynne
not XS_NO_CCB. discussed with krw@ who agrees
2014-01-17if the hardware is too busy or its queues are too full, return XS_BUSY,David Gwynne
not XS_NO_CCB. discussed with krw@ who agrees
2014-01-17Validate file size before loading content into memory.Tobias Stoeckmann
ok millert@
2014-01-17Do not follow symlinks for -l and -L arguments.Tobias Stoeckmann
ok krw@
2014-01-17signing got simplerMarc Espie
2014-01-17a polled command timing out isnt a software resource shortage, itsDavid Gwynne
a driver stuffup. aac is XS_NO_CCB clean now.
2014-01-17remove a XS_NO_CCB case by moving aac to iopools.David Gwynne
eyes and ok by krw@ jmatthew@
2014-01-17Make parse_X return -1 when it encounters a parsing error. EnablesKenneth R Westerback
recognition of zero length value vs parsing error. This lets us avoid the erroneous consumption of the semicolon ending the 'X' value, and the resulting accidental consumption of the following line in the file being parsed.
2014-01-17replace aacminphys with scsi_minphys. both are just wrappers aroundDavid Gwynne
minphys.
2014-01-17aacvar advertises a public api which is only used inside aac.c. make itDavid Gwynne
"private" so i dont feel bad about changing it.
2014-01-17Close file descriptor before next try getting a good one.Tobias Stoeckmann
ok millert@
2014-01-17Fix off-by-one on specially crafted /etc/shells file.Tobias Stoeckmann
ok gilles@, millert@
2014-01-17Sort the macro keys by their real-world frequency to reduce the averageIngo Schwarze
mask size. No functional change. This shrinks the standard /usr/share/man database by 7%, now at 10.3x the size of whatis.db, and with -Q even by 11%, now at 3.0x of whatis.db. Now i'm out of ideas to easily shrink the size of the database. Optimization found somewhere above the West Australian desert. Committing from Melbourne, Victoria.
2014-01-17Drop the AUTOINCREMENT PRIMARY KEYs from the mlinks and keys tables.Ingo Schwarze
They are completely unused, and i cannot imagine what they *could* ever be used for; but apparently, they are expensive to generate. Standard DB build time goes down by 10%, now at 1.9x of makewhatis. Standard DB size goes down by 4%, now at 11x of makewhatis. DB build time with -Q goes down by 15%, now at 0.28x of makewhatis. DB size with -Q goes down by 3%, now at 3.35x of makewhatis. Optimization found somewhere above the Southern Balochistan desert, near the Iran-Pakistan border. Committing from Melbourne, Victoria.
2014-01-17Despite some experimenting, i'm unable to find any relevant effect ofIngo Schwarze
creating an index for the keys table on apropos(1) search times; apparently, adding that index was premature optimization in the first place; so, stop adding that index. Its root gone, the following evil is reduced (/usr/share/man on my notebook) - DB build time with -Q goes down by 15%, now at 1/3 of makewhatis - DB size with -Q goes down by 35%, now at 3.5x of makewhatis - full DB build time goes down by 12%, now at 2.1x of makewhatis - full DB size goes down by 42%, now at 11.5x of makewhatis Optimization found somewhere above the Dasht-e Kavir, the Great Salt Desert, between Tehran (Iran) and Herat (Afghanistan). Committing from Melbourne, Australia.
2014-01-17ctype and other sign extension fixes.Okan Demirmen
with deraadt and millert, ok millert
2014-01-17do check_digest per plist.Marc Espie
show UNSIGNED packages unconditionally.
2014-01-17make ArcCheck less confusing, don't archive stuff that WON'T surviveMarc Espie
extraction anyways (those metadatas ARE in the packing-list anyways).
2014-01-17"recognize" extended header thingies (we don't handle them, we justMarc Espie
spew more useful error messages)
2014-01-17use internal gunzip, now that the fh leak is closed.Marc Espie
2014-01-17oops, keeping _current around means I still have a live fh after deref.Marc Espie
So remove it too. Accordingly, the code that resyncs archives on reopen needs us tracking the name itself.
2014-01-17tweak documentation to match what's going onMarc Espie
2014-01-17as requested by theo, invoke signify in the EXAMPLE order.Marc Espie
2014-01-17default signer less picky, just select by function, e.g., *pkg or *fw.Marc Espie
2014-01-17tweak the interface to generating signatures yet again.Marc Espie
- assume key names match, deduce signer from sec key. e.g., -s signify -s 55pkg.sec will set signer to 55pkg and look for a pubkey named 55pkg.pub, either besides 55pkg.sec or in /etc/signify. - verify there's no mismatch, if possible, by verifying the first package signed. - also build a SHA256 on the fly while signing.
2014-01-17fix log message statvfs. ok djmDarren Tucker
2014-01-17remove unused includes. ok djm@Darren Tucker
2014-01-17Add a new example showing how to verify bsd.rd with signify and the newLawrence Teo
sha256 -C option. suggested by deraadt@ help/OK jmc@ tedu@
2014-01-17add signature checking and make checksum procedure more robust byAlexander Hall
prefetching sets to a temporary directory within /home, iff it is a separate mount point with rpe@ and deraadt@, "ffiinaallllyyy .... OK" rpe@ (r.i.p. progress bars)
2014-01-17signed/unsigned comparison warning fix; from portableDamien Miller
2014-01-16Avoid size_t overflow in apprentice_map.Tobias Stoeckmann
ok millert
2014-01-16Avoid size_t overflow while reading /etc/resolv.conf.tail.Tobias Stoeckmann
ok krw
2014-01-16Appease LLVM's integrated assembler. Matches the same code as it existsBrad Smith
for i386. error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq') ok mlarkin@
2014-01-16Remove an infinite loop in fuse_device_cleanup().Sylvestre Gallon
Spotted by pelikan@ Some input from stsp@ OK stsp@, pelikan@
2014-01-16Replaces a lookup to find the link-layer address by accessing the if_sadlMartin Pieuchot
member directly. ok mikeb@
2014-01-16Add support for mknod in fuse.Sylvestre Gallon
OK tedu@ "it looks good to me" from guenther@
2014-01-16openssh-6.5Damien Miller
2014-01-16needless and incorrect cast to size_t can break resumption ofDamien Miller
large download; patch from tobias@
2014-01-15add -C to the man page, and adjust usage();Jason McIntyre
ok lteo
2014-01-15for STANDARDS, not that the ability to specify a month name as a singleJason McIntyre
argument is also an extension; ok sobrado
2014-01-15fix SEE ALSO;Jason McIntyre
2014-01-15Do not attempt to read .tmux.conf if we can't figure out a homeNicholas Marriott
directory, from Tiago Cunha.