diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-02-18 14:40:53 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-02-22 14:19:06 +0100 |
commit | 2a626dccea8356c73ac2cc2eb77cbcabca4cb7fc (patch) | |
tree | 051661b073b3d0feaa8832d5680b1fd93e8d9083 /package/lttng-tools/patches/patch-src_common_shm_c | |
parent | 676dc71c7dbf47978b8bdabbef03d24a88b886a4 (diff) |
lttng-tools: update to 2.13.11
Diffstat (limited to 'package/lttng-tools/patches/patch-src_common_shm_c')
-rw-r--r-- | package/lttng-tools/patches/patch-src_common_shm_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/lttng-tools/patches/patch-src_common_shm_c b/package/lttng-tools/patches/patch-src_common_shm_c new file mode 100644 index 000000000..e55463125 --- /dev/null +++ b/package/lttng-tools/patches/patch-src_common_shm_c @@ -0,0 +1,20 @@ +--- lttng-tools-2.13.11.orig/src/common/shm.c 2023-08-21 20:32:56.550851722 +0200 ++++ lttng-tools-2.13.11/src/common/shm.c 2024-02-18 06:56:33.822793165 +0100 +@@ -32,7 +32,7 @@ static int get_wait_shm(char *shm_path, + int wait_shm_fd, ret; + mode_t mode, old_mode; + +- assert(shm_path); ++ //assert(shm_path); + + /* Default permissions */ + mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; +@@ -166,7 +166,7 @@ char *shm_ust_get_mmap(char *shm_path, i + char *wait_shm_mmap; + long sys_page_size; + +- assert(shm_path); ++ //assert(shm_path); + + sys_page_size = sysconf(_SC_PAGE_SIZE); + if (sys_page_size < 0) { |