mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge Add abstractions/groff with lots of groff/nroff helpers
contributed by Werner Fink via
https://bugzilla.opensuse.org/show_bug.cgi?id=1065388 comment 25
Note that - compared to the file in bugzilla - I removed the `rix` rules
for /usr/bin/groff and /usr/bin/nroff so that people can choose to ix,
Px or Cx groff/nroff as they wish, and then include the abstraction
inside the target profile to allow executing all the helpers.
I also added `include if exists <abstractions/groff.d>`
MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/973
Approved-by: John Johansen <john@jjmx.net>
Merged-by: John Johansen <john@jjmx.net>
(cherry picked from commit 238eb8150b
)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
68de30cf76
commit
1759c1bd24
1 changed files with 67 additions and 0 deletions
67
profiles/apparmor.d/abstractions/groff
Normal file
67
profiles/apparmor.d/abstractions/groff
Normal file
|
@ -0,0 +1,67 @@
|
|||
# ------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (C) 2002-2009 Novell/SUSE
|
||||
# Copyright (C) 2009 Canonical Ltd.
|
||||
# Copyright (C) 2023 SUSE LLC
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of version 2 of the GNU General Public
|
||||
# License published by the Free Software Foundation.
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
# Note: executing groff and nroff themself is not included in this abstraction
|
||||
# so that you can choose to ix, Px or Cx them in your profile
|
||||
|
||||
# groff/nroff helpers, preprocessors, and postprocessors
|
||||
/usr/bin/addftinfo mrix,
|
||||
/usr/bin/afmtodit mrix,
|
||||
/usr/bin/chem mrix,
|
||||
/usr/bin/eqn mrix,
|
||||
/usr/bin/eqn2graph mrix,
|
||||
/usr/bin/gdiffmk mrix,
|
||||
/usr/bin/geqn mrix,
|
||||
/usr/bin/grap2graph mrix,
|
||||
/usr/bin/grn mrix,
|
||||
/usr/bin/grodvi mrix,
|
||||
/usr/bin/groffer mrix,
|
||||
/usr/bin/grog mrix,
|
||||
/usr/bin/grolbp mrix,
|
||||
/usr/bin/grolj4 mrix,
|
||||
/usr/bin/gropdf mrix,
|
||||
/usr/bin/grops mrix,
|
||||
/usr/bin/grotty mrix,
|
||||
/usr/bin/gtbl mrix,
|
||||
/usr/bin/hpftodit mrix,
|
||||
/usr/bin/indxbib mrix,
|
||||
/usr/bin/lkbib mrix,
|
||||
/usr/bin/lookbib mrix,
|
||||
/usr/bin/mmroff mrix,
|
||||
/usr/bin/neqn mrix,
|
||||
/usr/bin/pdfmom mrix,
|
||||
/usr/bin/pdfroff mrix,
|
||||
/usr/bin/pfbtops mrix,
|
||||
/usr/bin/pic mrix,
|
||||
/usr/bin/pic2graph mrix,
|
||||
/usr/bin/post-grohtml mrix,
|
||||
/usr/bin/pre-grohtml mrix,
|
||||
/usr/bin/preconv mrix,
|
||||
/usr/bin/refer mrix,
|
||||
/usr/bin/roff2dvi mrix,
|
||||
/usr/bin/roff2html mrix,
|
||||
/usr/bin/roff2pdf mrix,
|
||||
/usr/bin/roff2ps mrix,
|
||||
/usr/bin/roff2text mrix,
|
||||
/usr/bin/roff2x mrix,
|
||||
/usr/bin/soelim mrix,
|
||||
/usr/bin/tbl mrix,
|
||||
/usr/bin/tfmtodit mrix,
|
||||
/usr/bin/troff mrix,
|
||||
/usr/bin/xtotroff mrix,
|
||||
|
||||
# at least its macros and fonts
|
||||
/usr/libexec/groff/** r,
|
||||
/usr/share/groff/** r,
|
||||
|
||||
# Include additions to the abstraction
|
||||
include if exists <abstractions/groff.d>
|
Loading…
Add table
Reference in a new issue