search for: check_perm

Displaying 4 results from an estimated 4 matches for "check_perm".

2007 Jan 23
2
Re: [nut-commits] svn commit r731
Hi Arjen, in server/upsd.c r731, you moved the call conf_load() from after check_perms() (~ l.1020) to before setupsignals() (~ l.989). The problem is that conf_load() needs to open the ups driver socket, and it assumes that STATEPATH is the current working directory. The directory is only set in l.1016. Therefore, the first attempt to open a socket will always fail. From the user&...
2016 Jul 11
0
Proposal for technique to stop a timer at any moment
...nals(void) /* handle reloading */ sa.sa_handler = set_reload_flag; sigaction(SIGHUP, &sa, NULL); + + /* Handle user signals. RP */ + sa.sa_handler = sigusr1_handler; + sigaction(SIGUSR1, &sa, NULL); + sa.sa_handler = sigusr2_handler; + sigaction(SIGUSR2, &sa, NULL); } void check_perms(const char *fn) diff -rup nut-2.7.4.orig/server/upsd.h nut-2.7.4.dev/server/upsd.h --- nut-2.7.4.orig/server/upsd.h 2015-12-29 13:08:34.000000000 +0100 +++ nut-2.7.4.dev/server/upsd.h 2016-06-16 12:28:07.066830712 +0200 @@ -80,6 +80,11 @@ extern nut_ctype_t *firstclient; #define SIGCMD_STOP SIGT...
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running on the host or in a separate VM, to control the execution of other VM-s (pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.), alter the page access bits in the shadow page tables (only for the hardware backed ones, eg. Intel's EPT) and receive notifications when events of interest have taken place