Skip to content
Snippets Groups Projects
  1. Oct 23, 2023
  2. Aug 28, 2023
  3. Aug 24, 2023
  4. Jan 10, 2023
  5. Mar 02, 2022
  6. Mar 01, 2022
  7. Feb 28, 2022
  8. Feb 26, 2022
    • Reiner Hauser's avatar
      Fix execution in sudo path · d013e8f3
      Reiner Hauser authored
      The LD_LIBRARY_PATH variable has to be explicitly
      passed on the sudo command line, since sudo is
      itself a suid executable.
      
      The final execvp() call has to take the program
      from the argument list, since it depends on if
      we wrap it into sudo or not. Since we
      construct the path we can use execv() and
      don't do a search in PATH.
      d013e8f3
  9. Feb 25, 2022
  10. Jan 14, 2022
  11. Dec 14, 2021
    • Reiner Hauser's avatar
      Support sudo rules in PMGLauncher · 792b64a1
      Reiner Hauser authored
      If TDAQ_PMG_USE_SUDO=1 the PMGLauncher will rely on sudo
      to change uid/gids rather than on being a SUID executable.
      Note that this has highest priority and will fail if sudo
      does not allow the transition.
      
      Otherwise it falls back to old behaviour:
        - if it is suid, change uid/gid for new process
        - else execute as current uid
      792b64a1
  12. Dec 09, 2021
  13. Dec 06, 2021
  14. Nov 16, 2021
  15. Oct 11, 2021
  16. Oct 08, 2021
  17. Oct 07, 2021
    • Reiner Hauser's avatar
      Minor cosmetics · 1d989f6c
      Reiner Hauser authored
      1d989f6c
    • Reiner Hauser's avatar
      Optimize eosfusebind call. · dd672e9e
      Reiner Hauser authored
      We basically check if the binding for current uid/session
      already exists, and if it agrees with $KRBCCNAME we do
      nothing.
      
      This avoids starting a shell script for every process which
      may block on a lockfile just to do the same thing as every
      other process with the same uid started at this time.
      
      The downside is the pretty ugly code as the credential file
      name contains the uid (easy), session id (easy) and the
      start time of the session leader (must use /proc/${sid}/stats).
      dd672e9e
  18. Oct 06, 2021
  19. Oct 05, 2021
  20. Oct 04, 2021
  21. May 04, 2021
  22. Mar 02, 2021
  23. Mar 01, 2021
  24. Feb 23, 2021
  25. Feb 18, 2021
  26. Feb 09, 2021
  27. Jan 19, 2021
  28. Dec 01, 2020
  29. Nov 03, 2020
  30. Sep 24, 2020
Loading