Utility to display its environment.


Created by James Hunt on 2012-10-25 and last modified on 2014-03-27
Get this branch:
bzr branch lp:procenv
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

James Hunt

Recent revisions

149. By James Hunt on 2014-03-27

* TODO: Update.
* src/procenv.c:
  - get_arch(): Update for Sparc 64-bit (V9).
  - show_capabilities_linux(): Move CAP_LAST_CAP out of the list and use
    it as a count to avoid it being confused for an actual capability.

148. By James Hunt on 2014-03-25

* Release version 0.34

147. By James Hunt on 2014-03-20

* man/procenv.1: Add ref to personality(2).
* src/procenv.c: --misc: Add Linux personality type and flags.
* src/procenv.h: Bump PROCENV_FORMAT_VERSION to 6 for format change.

146. By James Hunt on 2014-03-19

* src/procenv.[ch]: Add cap_get_bound() and CAP_IS_SUPPORTED()
  implementations for systems with older versions of libcap.

145. By James Hunt on 2014-03-17

* man/procenv.1: Add reference to libcap(3).
* procenv.spec.in: Buid-depend on libcap-devel.
* README: Update.

144. By James Hunt on 2014-03-14

* Release version 0.33

143. By James Hunt on 2014-03-14

* src/procenv.c: show_capabilities_linux():
  - Use cap_get_bound() rather than prctl().
  - Memory leak fix.
* src/procenv.h: _show_capability():
  - Use cap_get_bound() rather than prctl().
  - Add "supported".

142. By James Hunt on 2014-03-14

* src/procenv.c:
  - show_mounts_linux(): Don't quote unknown canonical name.
  - get_canonical(): Return value denoting if name was known.

141. By James Hunt on 2014-03-13

* TODO: Update.

140. By James Hunt on 2014-03-13

* NEWS: Corrected formatting.
* TODO: Updates.
* configure.ac: Link to libcap if available.
* src/procenv.c:
  - get_capability_by_flag(): New function to query a capability value
    for a specified capability type.
  - show_capabilities_linux():
    - Make use of libcap calls.
    - Add missing CAP_BLOCK_SUSPEND.
    - Show "unknown" capabilities if detected (capabilities that the
      running kernel supports which procenv doesn't know about).
* src/procenv.h:
  - PROCENV_FORMAT_VERSION: bumped to version 5 for capabilities output
    format change.
  - show_capability(): Now calls _show_capability().
  - _show_capability(): Reworking of show_capability() macro that uses
    libcap calls and works for unknowns too.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.