Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06fcf938 authored by David 'Digit' Turner's avatar David 'Digit' Turner Committed by Android Code Review
Browse files

Merge "run-as: Bump the size of the internal packages list buffer."

parents 327b2b70 93d81ef7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -44,7 +44,7 @@
#define PACKAGES_LIST_FILE  "/data/system/packages.list"
#define PACKAGES_LIST_FILE  "/data/system/packages.list"


/* This should be large enough to hold the content of the package database file */
/* This should be large enough to hold the content of the package database file */
#define PACKAGES_LIST_BUFFER_SIZE  8192
#define PACKAGES_LIST_BUFFER_SIZE  65536


/* Copy 'srclen' string bytes from 'src' into buffer 'dst' of size 'dstlen'
/* Copy 'srclen' string bytes from 'src' into buffer 'dst' of size 'dstlen'
 * This function always zero-terminate the destination buffer unless
 * This function always zero-terminate the destination buffer unless