This file is indexed.

/usr/include/lirc/lirc-utils.h is in liblirc-dev 0.10.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/****************************************************************************
** lirc-utils.h ************************************************************
****************************************************************************
*
* Miscellanious utility functions.
*
*/

/**
 * @file lirc-utils.h
 * @author Alec Leamas
 * @brief Utilities
 * @ingroup private_api
 */

#ifndef _UTIL_H
#define _UTIL_H

#include "lirc_log.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @addtogroup private_api
 * @{
 */


/**
 *  Try to drop possible root privileges, returning new user or "" on error.
 *  @param set_some_uid Typically seteuid() or setuid()
 *  @note Uses environment SUDO_USER to determine user to switch to (if any).
 */
const char* drop_sudo_root(int (*set_some_uid)(uid_t));

/**
*   Default view part of drop_sudo_root. Invokes drop_sudo_root() and prints
*   status messagea on stdout.
*   @param set_some_uid Typically seteuid() or setuid()
*/
void drop_root_cli(int (*set_some_uid)(uid_t));


/** @} */
#ifdef __cplusplus
}
#endif

#endif