Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Unlink works in windows, not in Linux?

by Athanasius (Chancellor)
on Dec 12, 2012 at 04:03 UTC ( #1008440=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for ( <grm_backup-*_*_*_*_*_*_EST_*.bak>,
           <backup_db-*_*_*_*_*_*_EST_*.bak> )
    {
        printf "File '%s' was last modified %d days ago\n", $_, -M;
    }
    
  2. or download this
    while ($log_written == 0)
    {
        ...
        $log_written = 1;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008440]
help
Chatterbox?
[tye]: apropos my several mentions of audit
[Corion]: At least my (non-SELinux) Debian has that config thing set. I don't have non-Debian machines handy (except Android)
[Corion]: My Android phone also has /proc/self/ loginuid, but that displays -1 (resp. 4GB). That might be because the phone is rooted.
[tye]: -1 means nobody logged in or the process was started before audit got booted
[davido]: ok, on my ubuntu system getlogin grabs from /proc/self/ loginuid (per strace)
[tye]: disable /proc and then see what it does?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2017-06-23 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.