From 5dc1e301a165709c60c435f00ec9bb6d7d5f21f3 Mon Sep 17 00:00:00 2001 From: Ralph Little Date: Tue, 27 Aug 2019 21:40:02 -0700 Subject: [PATCH] Apply debian upstream patch 0160-fix_tighten_default_umask Original patch commentary: Description: Change default XSane umask from 0007 to 0077 A default umask of 0007 can be mildly insecure in a multiuser environment, so tighten things up a bit and go with 0077 instead. Author: Adrien Thebo Bug-Debian: http://bugs.debian.org/592972 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/611950 ---- As above. --- src/xsane.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xsane.h b/src/xsane.h index 67f06d4..fa04418 100644 --- a/src/xsane.h +++ b/src/xsane.h @@ -104,7 +104,7 @@ #define XSANE_DEBUG_ENVIRONMENT "XSANE_DEBUG" #define XSANE_PROGRESS_BAR_MIN_DELTA_PERCENT 0.025 -#define XSANE_DEFAULT_UMASK 0007 +#define XSANE_DEFAULT_UMASK 0077 #define XSANE_HOLD_TIME 200 #define XSANE_CONTINUOUS_HOLD_TIME 10 #define XSANE_DEFAULT_DEVICE "SANE_DEFAULT_DEVICE" -- 2.22.0 ix/refs/?id=2c66435a40080f6acd773169d1e9ba45ed52de7f'>refslogtreecommitdiff
path: root/gnu/services/security-token.scm
AgeCommit message (Expand)Author
2022-06-25services: pcscd: Use switch-symlinks from (guix build utils)....switch-symlinks has been moved to (guix build utils). We need not duplicate it anymore. * gnu/services/security-token.scm (pcscd-activation): Use switch-symlinks from (guix build utils). Arun Isaac
2021-07-03services: pcscd: Fix daemon signal handling...."pcscd" wouldn't handle SIGTERM as it inherit ignoring this signal (and others) from its parent shepherd; fork+exec-command restore signal handling. Fixes <https://issues.guix.gnu.org/45202>. * gnu/services/security-token.scm (pcscd)[start]: Use fork+exec-command to start "pcscd". Brice Waegeneire
2021-06-19services: pcscd: Cleanup socket when started....Otherwise when pcscd doesn't terminate properly (ie. receive a SIGKILL), it won't start again because of it's socket already existing. * gnu/services/security-token.scm (pcscd-shepherd-service)[start]: Remove existing socket file. Brice Waegeneire