Date: Tue, 9 Jul 2013 07:17:29 GMT From: dpl@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r254453 - soc2013/dpl/head/contrib/xz/src/xz Message-ID: <201307090717.r697HT5i030757@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dpl Date: Tue Jul 9 07:17:29 2013 New Revision: 254453 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254453 Log: Enter capability mode after opening the files. Modified: soc2013/dpl/head/contrib/xz/src/xz/main.c Modified: soc2013/dpl/head/contrib/xz/src/xz/main.c ============================================================================== --- soc2013/dpl/head/contrib/xz/src/xz/main.c Tue Jul 9 07:15:59 2013 (r254452) +++ soc2013/dpl/head/contrib/xz/src/xz/main.c Tue Jul 9 07:17:29 2013 (r254453) @@ -210,6 +210,10 @@ void (*run)(const char *filename) = opt_mode == MODE_LIST ? &list_file : &coder_run; +#if defined(CAPSICUM) // + cap_init(); +#endif + // Process the files given on the command line. Note that if no names // were given, args_parse() gave us a fake "-" filename. for (size_t i = 0; i < args.arg_count && !user_abort; ++i) { @@ -244,7 +248,7 @@ } // Do the actual compression or decompression. - run(args.arg_names[i]); + (args.arg_names[i]); } // If --files or --files0 was used, process the filenames from the
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307090717.r697HT5i030757>