mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-23 22:14:18 +02:00
Fix fuzzing compilation
This commit is contained in:
parent
937c8983d3
commit
e79d5dee3a
2 changed files with 12 additions and 4 deletions
|
|
@ -59,6 +59,14 @@
|
|||
|
||||
#include "fuzz-lib.h"
|
||||
|
||||
struct cg_server server;
|
||||
struct wlr_xdg_shell *xdg_shell;
|
||||
|
||||
struct wlr_xwayland *xwayland;
|
||||
#if CG_HAS_XWAYLAND
|
||||
struct wlr_xcursor_manager *xcursor_manager;
|
||||
#endif
|
||||
|
||||
static bool
|
||||
drop_permissions(void) {
|
||||
if(getuid() != geteuid() || getgid() != getegid()) {
|
||||
|
|
|
|||
|
|
@ -17,12 +17,12 @@
|
|||
#define WAIT_ANY -1
|
||||
#endif
|
||||
|
||||
struct cg_server server;
|
||||
struct wlr_xdg_shell *xdg_shell;
|
||||
extern struct cg_server server;
|
||||
extern struct wlr_xdg_shell *xdg_shell;
|
||||
|
||||
struct wlr_xwayland *xwayland;
|
||||
extern struct wlr_xwayland *xwayland;
|
||||
#if CG_HAS_XWAYLAND
|
||||
struct wlr_xcursor_manager *xcursor_manager;
|
||||
extern struct wlr_xcursor_manager *xcursor_manager;
|
||||
#endif
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue