Re: [Boost-bugs] [Boost C++ Libraries] #11480: Interprocess get_last_bootup_time use of Event Log on Windows is completely unreliable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11480: Interprocess get_last_bootup_time use of Event Log on Windows is completely unreliable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-05 09:05:16


#11480: Interprocess get_last_bootup_time use of Event Log on Windows is completely
unreliable
----------------------------------------+----------------------------------
  Reporter: Craig White <cwhite102@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.57.0 | Severity: Showstopper
Resolution: | Keywords: message_queue bootup
----------------------------------------+----------------------------------

Comment (by Maksim Paramonau <mparamonau@…>):

 Also if an application which was run from the Guest account tries to open
 queries created by an application from a regular user, the queries will be
 renamed so far as the guest user doesn't have enough right to access to
 the Windows Event log.
 From the guest account the function 'get_last_bootup_time' returns 'true'
 even if the function 'OpenEventLogA' returns NULL! (I believe it's an
 error, it should return false and in this case the boost library throws an
 exception). Further in the function 'create_shared_dir_and_clean_old' the
 boost library tries to erase all old directories created in the previous
 boot sessions (boost calls the function 'unlink' to emulate UNIX unlink
 semantics in windows).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11480#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC