aa-clickhook(1)


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

SEE ALSO

   apparmor(7) click(1)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.