| gumd API Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <gum/common/gum-utils.h>
void gum_utils_drop_privileges ();
void gum_utils_gain_privileges ();
gchar * gum_utils_generate_nonce (GChecksumType algorithm);
void gum_utils_drop_privileges ();
Drops the privileges for the calling process. Effective uid is to real uid.
void gum_utils_gain_privileges ();
Gains the privileges for the calling process. Effective uid is to 0.
gchar * gum_utils_generate_nonce (GChecksumType algorithm);
Generates nonce based on hashing algorithm as specified in algorithm
|
the GChecksumType algorithm |
Returns : |
generate nonce if successful, NULL otherwise. [transfer full] |