EnglishFrenchSpanish

OnWorks favicon

aa-clickhook - Online in the Cloud

Run aa-clickhook in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command aa-clickhook that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


aa-clickhook - click system hook for AppArmor

DESCRIPTION


When a click package is installed, click will run system and user hooks. The click
AppArmor system hook converts the security manifest in the click package into an AppArmor
profile, then loads the profile into the kernel. On Ubuntu, the click AppArmor hook maps
click frameworks to appropriate policy versions to ensure correct AppArmor policy is
generated.

By default, symlinks to the click security manifests are stored in
/var/lib/apparmor/clicks. The generated AppArmor profiles are stored in
/var/lib/apparmor/profiles with the corresponding profile caches stored in
/var/cache/apparmor/apparmor.

When aa-clickhook is run without arguments, it will generate missing AppArmor profiles for
the security manifests. In addition, aa-clickhook will check the mtime of the symlink of
the security manifest and regenerate any AppArmor profiles with an mtime older than the
corresponding security manifest.

USAGE


aa-clickhook [OPTIONS]

OPTIONS


-h show program's help

-f | --force | --force-regenerate
Force regeneration of all click profiles

--include=PATH
Add '#include "PATH"' to generated profiles

OVERRIDES AND ADDITIONAL ACCESS


click-apparmor supports overriding the policy specified in the click security manifest.
Overrides are optional and are specified in the same directory as the click security
manifest, but with ".override" appended. They use the same json format and structure as
their corresponding click security manifests, but use only the manifest keys related to
AppArmor policy. Overrides may be specified for abstractions, policy_groups, read_path and
write_path. Overrides only subtract from policy and cannot be used to provide additional
access.

Similarly, click-apparmor supports adding access to the policy specified in the click
security manifest. This additional access is specified in the same directory as the click
security manifest, but with ".additional" appended. This uses the same json format and
structure as their corresponding click security manifests, but uses only the manifest keys
related to AppArmor policy. Additional access may be specified for abstractions,
policy_groups, read_path and write_path. Specifying additional access in this manner must
be done with care since the additional access could allow escaping confinement.

After creating or updating an override or additional access, you must run aa-clickhook to
put the changes into effect. To unapply an override or additional access, remove the file,
update the timestamp on the security manifest (see below), then run aa-clickhook.

NOTES


aa-clickhook will skip generating AppArmor policy if the framework is missing, if the
specified policy version doesn't match the expected version for the framework, or
otherwise improperly formatted click packages.

When reinstalling a click with the same version, it may be useful to regenerate the
AppArmor profile like so:

# touch -h /var/lib/apparmor/clicks/<click security>.json
# aa-clickhook

or if need to regenerate with an include file (eg, for autopilot):

# touch -h /var/lib/apparmor/clicks/<click security>.json
# aa-clickhook \
--include=/usr/share/autopilot-touch/apparmor/click.rules

Use aa-clickhook online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 2
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 3
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 4
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 5
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 6
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • More »

Linux commands

Ad