unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



chatr(1)							     chatr(1)
Patchkit 5							   Patchkit 5



NAME

  chatr	- change program's internal attributes

SYNOPSIS

  chatr	[+ed flag] file...

OPTIONS

  +ed flag
      Change the program attribute that	enables	user code to execute from
      data (stack or heap). The	flag values are	enable and disable to change
      this attribute.

DESCRIPTION

  The chatr command changes a program's	internal attributes.  Upon comple-
  tion,	chatr prints the file's	old and	new values to standard output.

  The +ed option of chatr is used to specify that a particular binary must be
  able to execute from its stack or heap, regardless of	the system default
  setting. This	allows a restrictive system default while not preventing leg-
  itimate programs from	executing code in data.	Ideally	this option should be
  set (if needed) by the program's provider, to	minimize the need for manual
  intervention by system administrators.

RESTRICTIONS

  The chatr command can	only be	used to	modify the attributes of executable
  object files,	and shared libraries. It does not support archived libraries,
  or object files that have been relocated.

ENVIRONMENT VARIABLES

  The following	environment variables affect the execution of the chatr	com-
  mand:

  LANG
      Provides a default value for the internationalization variables that
      are unset	or null. If LANG is unset or null, the corresponding value
      from the default locale is used. If any of the internationalization
      variables	contain	an invalid setting, the	utility	behaves	as if none of
      the variables had	been defined.

  LC_ALL
      If set to	a non-empty string value, overrides the	values of all the
      other internationalization variables.

  LC_CTYPE
      Determines the locale for	the interpretation of sequences	of bytes of
      text data	as characters (for example, single-byte	as opposed to multi-
      byte characters in arguments).

  LC_MESSAGES
      Determines the locale for	the format and contents	of diagnostic mes-
      sages written to standard	error.

  NLSPATH
      Determines the location of message catalogues for	the processing of
      LC_MESSAGES.

SEE ALSO

  Functions: mmap(2)