Novell Home

Linux User­space Application Guidelines

Linux User­space Application Guideline #1

Command­line Features

Documented Product user­space command­line features are documented using installed "man pages" and will contain references to additional documentation sources (such as "info pages") as applicable.

Linux User­space Application Guideline #2

Consistent Command­Line Argument Style

User­space command­line options are compliant with POSIX (dash prefixed) and/or GNU (dash dash prefixed) styles.

Linux User­space Application Guideline #3

Pluggable Authentication Module Compatibility

The user­space component(s) of the product authenticates users (if/when needed) using appropriate Pluggable Authentication Module (PAM) interfaces.

Linux User­space Application Guideline #4

Internationalization

Multilingual support, for the product's user­space component(s), complies with standards documented in the glibc manual.

Linux User­space Application Guideline #5

Dynamic Resource Acquisition

The product detects, and gracefully handles, any failed dynamic resource allocations. These resources include memory, sockets, disk space, etc.

Linux User­space Application Guideline #6

Forced Termination/Unload Handling

The product's user­space components gracefully self­terminate upon receipt of SIGTERM, appropriately saving product data and releasing dynamically allocated resources.

Linux User­space Application Guideline #7

Date­time Handling

The user­space components of the product uses appropriate glibc calls to integrate with current time zone setting and time handling.

Linux User­space Application Guideline #8

Proper Memory Access and Manipulation

Product components do not access or manipulate memory inappropriately. This includes the following:

  • For allocated memory segments, product components do not attempt to access or manipulate memory beyond the end of (or prior to) the allocated segment(s).
  • Product components access memory structures and code through standard interfaces.

© 2014 Novell