screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #54151] env var TMPDIR gets unset upon 'screen' comm


From: Amadeusz Sławiński
Subject: [screen-devel] [bug #54151] env var TMPDIR gets unset upon 'screen' command
Date: Tue, 19 Jun 2018 13:46:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Update of bug #54151 (project screen):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

It's not a bug in screen.
It's normal behaviour on glibc systems, where it sanitizes environment for
suid applications.
You can check list of sanitized environment variables here:
https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/generic/unsecvars.h;h=5ea8a4a259ef753c9d0d30aa4c0788e93656d047;hb=HEAD

I assume that your system has screen installed setuid that's why this variable
is cleared.
screen itself removes only few variables:
https://git.savannah.gnu.org/cgit/screen.git/tree/src/screen.c?id=c94fdfe9689d1c5dab54c69eb8bb60deed888e57#n1414
all related to its functionality and does copy the rest.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54151>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]