mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 06:50:23 -08:00
Merge from origin/emacs-28
6d3608be88Seccomp: improve support for newer versions of glibc (Bug#...e58ecd01d5EUDC: Fix a quoting bug in the BBDB backend
This commit is contained in:
commit
1319d108da
2 changed files with 3 additions and 1 deletions
|
|
@ -228,6 +228,7 @@ main (int argc, char **argv)
|
||||||
capabilities, and operating on them shouldn't cause security
|
capabilities, and operating on them shouldn't cause security
|
||||||
issues. */
|
issues. */
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (read));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (read));
|
||||||
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (pread64));
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (write));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (write));
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (close));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (close));
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (lseek));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (lseek));
|
||||||
|
|
@ -239,6 +240,7 @@ main (int argc, char **argv)
|
||||||
should be further restricted using mount namespaces. */
|
should be further restricted using mount namespaces. */
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (access));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (access));
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat));
|
||||||
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat2));
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (stat));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (stat));
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (stat64));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (stat64));
|
||||||
RULE (SCMP_ACT_ALLOW, SCMP_SYS (lstat));
|
RULE (SCMP_ACT_ALLOW, SCMP_SYS (lstat));
|
||||||
|
|
|
||||||
|
|
@ -233,7 +233,7 @@ RETURN-ATTRS is a list of attributes to return, defaulting to
|
||||||
(setq bbdb-attrs (append bbdb-attrs (list (car query-attrs))))
|
(setq bbdb-attrs (append bbdb-attrs (list (car query-attrs))))
|
||||||
(if (car query-attrs)
|
(if (car query-attrs)
|
||||||
;; BEWARE: `bbdb-search' is a macro!
|
;; BEWARE: `bbdb-search' is a macro!
|
||||||
(setq records (eval `(bbdb-search records ,@bbdb-attrs) t)))
|
(setq records (eval `(bbdb-search (quote ,records) ,@bbdb-attrs) t)))
|
||||||
(setq query-attrs (cdr query-attrs)))
|
(setq query-attrs (cdr query-attrs)))
|
||||||
(mapc (lambda (record)
|
(mapc (lambda (record)
|
||||||
(setq filtered (eudc-filter-duplicate-attributes record))
|
(setq filtered (eudc-filter-duplicate-attributes record))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue