mirror of
https://github.com/clearlinux/clr-debug-info.git
synced 2026-09-06 13:51:38 +00:00
Compare commits
78
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f27d35886 | ||
|
|
286069732b | ||
|
|
15d3176382 | ||
|
|
d33715f6e9 | ||
|
|
a8dbe93c7e | ||
|
|
ac9e0cbefb | ||
|
|
888d469c28 | ||
|
|
e9e16fd560 | ||
|
|
f962d43af2 | ||
|
|
cfacaece11 | ||
|
|
96a1f7cffc | ||
|
|
26c614fbe2 | ||
|
|
7e694a71ab | ||
|
|
c618401317 | ||
|
|
c0321b2872 | ||
|
|
bff72b661b | ||
|
|
4c9b2ee263 | ||
|
|
8cf3382343 | ||
|
|
ccbb7bb31c | ||
|
|
aacde58ece | ||
|
|
a6a25cbfc1 | ||
|
|
a54f328ad7 | ||
|
|
27a9b3923a | ||
|
|
374a17ea95 | ||
|
|
80c2659731 | ||
|
|
6d46f4d404 | ||
|
|
81149b109b | ||
|
|
8d9d392ce5 | ||
|
|
4e8854f491 | ||
|
|
3951a29dcc | ||
|
|
f153d6079a | ||
|
|
95cd32d127 | ||
|
|
5d3868ad29 | ||
|
|
a6952576e6 | ||
|
|
05fd5593e2 | ||
|
|
54918c1c02 | ||
|
|
e715583dc5 | ||
|
|
a3f4a2071c | ||
|
|
7016c88df6 | ||
|
|
c569470df3 | ||
|
|
883a4b0e42 | ||
|
|
a63ceb51b5 | ||
|
|
b16557179c | ||
|
|
4d1ac0e90b | ||
|
|
ff8275f7a1 | ||
|
|
80ae1d110c | ||
|
|
bba42e469e | ||
|
|
13c7727a3a | ||
|
|
4632c932d3 | ||
|
|
7fcebafd08 | ||
|
|
718c01f65b | ||
|
|
584cbb5b4e | ||
|
|
85b8895e15 | ||
|
|
de08f0ebd5 | ||
|
|
b51f835219 | ||
|
|
905e8051b2 | ||
|
|
19652c9c87 | ||
|
|
a524875fd3 | ||
|
|
91efece071 | ||
|
|
37048557ec | ||
|
|
d2192337d0 | ||
|
|
0642cc1835 | ||
|
|
77fc03de73 | ||
|
|
97c6ab80a0 | ||
|
|
aeb73c71d3 | ||
|
|
a64fc31838 | ||
|
|
8d6503ed2f | ||
|
|
6fb3c6f193 | ||
|
|
3124367ce7 | ||
|
|
41e3538eb4 | ||
|
|
b199c54804 | ||
|
|
6009fe08f7 | ||
|
|
2cd799e5ec | ||
|
|
c3701ee088 | ||
|
|
8b995e1a20 | ||
|
|
c4e73a4c9e | ||
|
|
b5ab4c61e8 | ||
|
|
eb6b1b86a3 |
@@ -4,6 +4,8 @@ Description=Clear Linux debuginfo daemon
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/clr_debug_daemon
|
||||
DefaultDependencies=no
|
||||
Nice=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -5,6 +5,8 @@ After=clr_debug_daemon.service
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/clr_debug_fuse
|
||||
DefaultDependencies=no
|
||||
Nice=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.66])
|
||||
AC_INIT(clr-debug-info, 33, arjan@linux.intel.com)
|
||||
AC_INIT(clr-debug-info, 38, arjan@linux.intel.com)
|
||||
AM_INIT_AUTOMAKE([foreign -Wall -W subdir-objects])
|
||||
AM_SILENT_RULES([yes])
|
||||
AC_PROG_CC
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ bool nc_copy_file(const char *src, const char *dst, mode_t mode, bool remove_tar
|
||||
while (true) {
|
||||
if ((r = read(src_fd, &buffer, sizeof(buffer))) < 0) {
|
||||
ret = false;
|
||||
break;
|
||||
goto end;
|
||||
}
|
||||
if (write(dest_fd, buffer, sizeof(buffer)) != r) {
|
||||
break;
|
||||
|
||||
+7
-5
@@ -123,8 +123,8 @@ static inline unsigned nc_hashmap_get_hash(NcHashmap *self, const void *key)
|
||||
return hash;
|
||||
}
|
||||
|
||||
static bool nc_hashmap_insert_bucket(NcHashmap *self, NcHashmapEntry *buckets, int n_buckets,
|
||||
unsigned hash, const void *key, void *value)
|
||||
static int nc_hashmap_insert_bucket(NcHashmap *self, NcHashmapEntry *buckets, int n_buckets,
|
||||
unsigned hash, const void *key, void *value)
|
||||
{
|
||||
NcHashmapEntry *row = &(buckets[hash % n_buckets]);
|
||||
NcHashmapEntry *head = NULL;
|
||||
@@ -458,10 +458,12 @@ bool nc_hashmap_iter_next(NcHashmapIter *citer, void **key, void **value)
|
||||
}
|
||||
item = &(map->buckets[iter->bucket]);
|
||||
}
|
||||
if (item && item->occ) {
|
||||
goto success;
|
||||
if (item) {
|
||||
if (item->occ) {
|
||||
goto success;
|
||||
}
|
||||
item = item->next;
|
||||
}
|
||||
item = item->next;
|
||||
}
|
||||
return false;
|
||||
|
||||
|
||||
+1
-2
@@ -237,7 +237,7 @@ static int curl_get_file(const char *url, const char *prefix, time_t timestamp)
|
||||
stat(filename, &statbuf);
|
||||
if (statbuf.st_size > 0 &&
|
||||
asprintf(&command,
|
||||
"tar -C /var/cache/debuginfo/%s --no-same-owner -xf %s",
|
||||
"tar -C /var/cache/debuginfo/%s --no-same-owner --no-same-permissions -xf %s",
|
||||
prefix,
|
||||
filename) >= 0) {
|
||||
if (system(command) != 0) {
|
||||
@@ -282,7 +282,6 @@ static void *server_thread(void *arg)
|
||||
if (ret < 0) {
|
||||
goto thread_end;
|
||||
}
|
||||
prefix = buf;
|
||||
c = strchr(buf, ':');
|
||||
if (!c) {
|
||||
goto thread_end;
|
||||
|
||||
Reference in New Issue
Block a user