Up to [local] / src / usr.bin / skeyinit
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_1_BASE
Revision 1.72 / (download) - annotate - [select for diffs], Tue May 17 23:36:29 2016 UTC (8 years ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.71: +27 -28 lines
Diff to previous 1.71 (colored)
Refactor the handling of pledge and the optional user string: The three way pledge introduced by millert@ in -r1.70 is now a two way pledge, one for non-root and one for root. This also ensures that root drops the id promise in all cases early on. This disentangling of the bits for root and non-root simplifies the code paths in all cases. ok millert@