linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Basic all-cap/all-lower case question on Environment variables
@ 2019-02-01 21:19 J Freyensee
  2019-02-02  4:18 ` Tetsuo Handa
  0 siblings, 1 reply; 2+ messages in thread
From: J Freyensee @ 2019-02-01 21:19 UTC (permalink / raw)
  To: linux-security-module

I have a basic question on environment variables, that with some 
documentation I have seen in the security modules like Tomoyo I'm hoping 
this could be the right list to ask the following question.

System environment variables, like PATH, LD_LIBRARY_PATH, HOME, etc.  
Can they ever default to all lower-case in a Linux Distro, i.e., path, 
ld_library_path, home, etc?  If so, is there a mode bit, kernel 
configuration setting or sysfs file to check for this setting?

I swear I have worked on Linux systems years ago that had 'path' and 
'ld_library_path' default to lower-case, but maybe I mis-recall.

Thanks for the info in advance, regards,
Jay

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Basic all-cap/all-lower case question on Environment variables
  2019-02-01 21:19 Basic all-cap/all-lower case question on Environment variables J Freyensee
@ 2019-02-02  4:18 ` Tetsuo Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Tetsuo Handa @ 2019-02-02  4:18 UTC (permalink / raw)
  To: J Freyensee, linux-security-module

On 2019/02/02 6:19, J Freyensee wrote:
> System environment variables, like PATH, LD_LIBRARY_PATH, HOME, etc.  Can they ever
> default to all lower-case in a Linux Distro, i.e., path, ld_library_path, home, etc?

There is no rule for environment variables, except environment variable name can't
contain '=' because '=' is used as a separator for environment variable value.

> If so, is there a mode bit, kernel configuration setting or sysfs file to check for this setting?

No such settings. Just a convention. Even mixed name like OPENSSL_ia32cap is permitted.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-02  4:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-01 21:19 Basic all-cap/all-lower case question on Environment variables J Freyensee
2019-02-02  4:18 ` Tetsuo Handa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).