This file is indexed.

/usr/lib/bcc/include/utmp.h is in elks-libc 0.16.17-3.3.

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
/* utmp.h */

#ifndef __UTMP_H
#define __UTMP_H

#include <features.h>
#include <sys/types.h>
#include <paths.h>
#include <time.h>

#define UT_UNKNOWN 0
#define UT_LINESIZE 12
#define UT_NAMESIZE 8
#define UT_HOSTSIZE 16

#define RUN_LVL 1
#define BOOT_TIME 2
#define NEW_TIME 3
#define OLD_TIME 4

#define INIT_PROCESS 5
#define LOGIN_PROCESS 6
#define USER_PROCESS 7
#define DEAD_PROCESS 8

struct utmp
{
  short   ut_type;                 /* type of login */
  pid_t   ut_pid;                  /* pid of login-process */
  char    ut_line[UT_LINESIZE];    /* devicename of tty -"/dev/", null-term */
  char    ut_id[2];                /* abbrev. ttyname, as 01, s1 etc. */
  time_t  ut_time;                 /* login time */
  char    ut_user[UT_NAMESIZE];    /* username, not null-term */
  char    ut_host[UT_HOSTSIZE];    /* hostname for remote login... */
  long    ut_addr;                 /* IP addr of remote host */

};

extern void             setutent __P ((void));
extern void             utmpname __P ((__const char *));
extern struct utmp *    getutent __P ((void));
extern struct utmp *    getutid __P ((__const struct utmp *));
extern struct utmp *    getutline __P ((__const struct utmp *));
extern struct utmp *    pututline __P ((__const struct utmp *));
extern void             endutent __P ((void));

#ifdef __LIBC__
struct utmp *           __getutent __P ((int));
#endif

#endif /* __UTMP_H */