{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":618103532,"defaultBranch":"master","name":"libs","ownerLogin":"happy-dude","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-03-23T19:00:34.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1098725?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1679599050.0","currentOid":""},"activityList":{"items":[{"before":"c804f946fcd1a30a24bb46715dc205bc0425724e","after":"31532881ca7076710045a17e6223bc5d766bdadb","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-27T16:16:26.487Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c"}},{"before":"429a64001d0ce82dde333c89e28cb856fb772229","after":"c804f946fcd1a30a24bb46715dc205bc0425724e","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-27T16:12:53.894Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c"}},{"before":"a73f55ac337ab9ac3c65185a4d7cd6794c1e57b7","after":"429a64001d0ce82dde333c89e28cb856fb772229","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-27T15:53:40.274Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c"}},{"before":"99614d1e0a0de25fc4c92a07ceb0eafe56e00449","after":"a73f55ac337ab9ac3c65185a4d7cd6794c1e57b7","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-27T14:38:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c"}},{"before":"b8d8f2a23c260e903056b61cf00b15d2916400be","after":"99614d1e0a0de25fc4c92a07ceb0eafe56e00449","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-27T14:33:56.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c","shortMessageHtmlLink":"Use SECOND_TO_NS in rest of userspace/libscap/linux/scap_procs.c"}},{"before":"df08144427c1b57688a78c1b74ea552ab4d11294","after":"b8d8f2a23c260e903056b61cf00b15d2916400be","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-27T14:26:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity#932, use btime from /proc/stat for boot time\n\nGet boot time from btime value in /proc/stat\n\nref: https://github.com/falcosecurity/libs/issues/932\n\n/proc/uptime and btime in /proc/stat are fed by the same kernel sources.\n\nMultiple ways to get boot time:\n* btime in /proc/stat\n* calculation via clock_gettime(CLOCK_REALTIME - CLOCK_BOOTTIME)\n* calculation via time(NULL) - sysinfo().uptime\n\nMaintainers preferred btime in /proc/stat because:\n* value does not depend on calculation using current timestamp\n* btime is \"static\" and doesn't change once set\n* btime is available in kernels from 2008\n* CLOCK_BOOTTIME is available in kernels from 2011 (2.6.38)\n\nBy scraping btime from /proc/stat, it is both the heaviest and most likely to succeed\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Resolve falcosecurity#932, use btime from /proc/stat for boot time"}},{"before":"61ec61af8d385c1dbb5cd660c52f911795f20c7f","after":"df08144427c1b57688a78c1b74ea552ab4d11294","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-27T14:16:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity#932, use btime from /proc/stat for boot time\n\nGet boot time from btime value in /proc/stat\n\nref: https://github.com/falcosecurity/libs/issues/932\n\n/proc/uptime and btime in /proc/stat are fed by the same kernel sources.\n\nMultiple ways to get boot time:\n* btime in /proc/stat\n* calculation via clock_gettime(CLOCK_REALTIME - CLOCK_BOOTTIME)\n* calculation via time(NULL) - sysinfo().uptime\n\nMaintainers preferred btime in /proc/stat because:\n* value does not depend on calculation using current timestamp\n* btime is \"static\" and doesn't change once set\n* btime is available in kernels from 2008\n* CLOCK_BOOTTIME is available in kernels from 2011 (2.6.38)\n\nBy scraping btime from /proc/stat, it is both the heaviest and most likely to succeed\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Resolve falcosecurity#932, use btime from /proc/stat for boot time"}},{"before":"e7529132aa269cb35e71e4899a871dfb4397568a","after":"61ec61af8d385c1dbb5cd660c52f911795f20c7f","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-25T04:12:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity#932, use btime from /proc/stat for boot time\n\nGet boot time from btime value in /proc/stat\n\nref: https://github.com/falcosecurity/libs/issues/932\n\n/proc/uptime and btime in /proc/stat are fed by the same kernel sources.\n\nMultiple ways to get boot time:\n* btime in /proc/stat\n* calculation via clock_gettime(CLOCK_REALTIME - CLOCK_BOOTTIME)\n* calculation via time(NULL) - sysinfo().uptime\n\nMaintainers preferred btime in /proc/stat because:\n* value does not depend on calculation using current timestamp\n* btime is \"static\" and doesn't change once set\n* btime is available in kernels from 2008\n* CLOCK_BOOTTIME is available in kernels from 2011 (2.6.38)\n\nBy scraping btime from /proc/stat, it is both the heaviest and most likely to succeed\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Resolve falcosecurity#932, use btime from /proc/stat for boot time"}},{"before":"6e3f98177ad161de05d80702120e4f376491b922","after":"e7529132aa269cb35e71e4899a871dfb4397568a","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-24T22:32:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity#932, use btime from /proc/stat for boot time\n\nGet boot time from btime value in /proc/stat\n\nref: https://github.com/falcosecurity/libs/issues/932\n\n/proc/uptime and btime in /proc/stat are fed by the same kernel sources.\n\nMultiple ways to get boot time:\n* btime in /proc/stat\n* calculation via clock_gettime(CLOCK_REALTIME - CLOCK_BOOTTIME)\n* calculation via time(NULL) - sysinfo().uptime\n\nMaintainers preferred btime in /proc/stat because:\n* value does not depend on calculation using current timestamp\n* btime is \"static\" and doesn't change once set\n* btime is available in kernels from 2008\n* CLOCK_BOOTTIME is available in kernels from 2011 (2.6.38)\n\nBy scraping btime from /proc/stat, it is both the heaviest and most likely to succeed\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Resolve falcosecurity#932, use btime from /proc/stat for boot time"}},{"before":"f9f1c7a3a697f00c9a612e7beff6e922e173d459","after":"6e3f98177ad161de05d80702120e4f376491b922","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-24T19:54:58.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity#932, use btime from /proc/stat for boot time\n\nGet boot time from btime value in /proc/stat\n\nref: https://github.com/falcosecurity/libs/issues/932\n\n/proc/uptime and btime in /proc/stat are fed by the same kernel sources.\n\nMultiple ways to get boot time:\n* btime in /proc/stat\n* calculation via clock_gettime(CLOCK_REALTIME - CLOCK_BOOTTIME)\n* calculation via time(NULL) - sysinfo().uptime\n\nMaintainers preferred btime in /proc/stat because:\n* value does not depend on calculation using current timestamp\n* btime is \"static\" and doesn't change once set\n* btime is available in kernels from 2008\n* CLOCK_BOOTTIME is available in kernels from 2011 (2.6.38)\n\nBy scraping btime from /proc/stat, it is both the heaviest and most likely to succeed\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby \nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Resolve falcosecurity#932, use btime from /proc/stat for boot time"}},{"before":"7d68e0996d883cadd993c98646d26181650b5afb","after":"f9f1c7a3a697f00c9a612e7beff6e922e173d459","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-24T19:49:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity#932, use btime from /proc/stat for boot time\n\nGet boot time from btime value in /proc/stat\n\nref: https://github.com/falcosecurity/libs/issues/932\n\n/proc/uptime and btime in /proc/stat are fed by the same kernel sources.\n\nMultiple ways to get boot time:\n* btime in /proc/stat\n* calculation via clock_gettime(CLOCK_REALTIME - CLOCK_BOOTTIME)\n* calculation via time(NULL) - sysinfo().uptime\n\nMaintainers preferred btime in /proc/stat because:\n* value does not depend on calculation using current timestamp\n* btime is \"static\" and doesn't change once set\n* btime is available in kernels from 2008\n* CLOCK_BOOTTIME is available in kernels from 2011 (2.6.38)\n\nBy scraping btime from /proc/stat, it is both the heaviest and most likely to succeed\n\nCo-authored-by: Grzegorz Nosek \nCo-authored-by: Melissa Kilby ","shortMessageHtmlLink":"Resolve falcosecurity#932, use btime from /proc/stat for boot time"}},{"before":"7cb22d6c83c1568242fa34730b40824794c3eaff","after":"7d68e0996d883cadd993c98646d26181650b5afb","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-24T18:35:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity#932, use btime from /proc/stat for boot time\n\nGet boot time from btime value in /proc/stat\n\nref: https://github.com/falcosecurity/libs/issues/932\n\n/proc/uptime and btime in /proc/stat are fed by the same kernel sources.\n\nMultiple ways to get boot time:\n* btime in /proc/stat\n* calculation via clock_gettime(CLOCK_REALTIME - CLOCK_BOOTTIME)\n* calculation via time(NULL) - sysinfo().uptime\n\nMaintainers preferred btime in /proc/stat because:\n* value does not depend on calculation using current timestamp\n* btime is \"static\" and doesn't change once set\n* btime is available in kernels from 2008\n* CLOCK_BOOTTIME is available in kernels from 2011 (2.6.38\n\nBy scraping btime from /proc/stat, it is both the heaviest and most likely to succeed\n\nSigned-off-by: Stanley Chan \nCo-authored-by: Melissa Kilby melissa.kilby.oss@gmail.com","shortMessageHtmlLink":"Resolve falcosecurity#932, use btime from /proc/stat for boot time"}},{"before":"bf2eaf3eadb5b2e1496bdabb8301403530c9352e","after":"7cb22d6c83c1568242fa34730b40824794c3eaff","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-23T22:05:52.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity/libs#932, use /proc/1/cmdline for boot/procfs creation time\n\nSee https://github.com/falcosecurity/libs/issues/932 for more context\n\nChange occurrences of `/proc/1` to `/proc/1/cmdline` in\n* userspace/libscap/linux/scap_procs.c\n* userspace/libscap/scap.c\n\nPrevious:\n```c\nsnprintf(proc_dir, sizeof(proc_dir), \"%s/proc/1/\", scap_get_host_root());\n```\n\nThis PR:\n```c\nsnprintf(proc_cmdline, sizeof(proc_cmdline), \"%s/proc/1/cmdline\", scap_get_host_root());\n```\n\nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Resolve falcosecurity#932, use /proc/1/cmdline for boot/procfs creati…"}},{"before":"d0c466173d1237b11d4da0d6f8b61b8ce9574668","after":"bf2eaf3eadb5b2e1496bdabb8301403530c9352e","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-23T19:59:56.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity/libs#932, use /proc/1/cmdline for boot/procfs creation time\n\nSee https://github.com/falcosecurity/libs/issues/932 for more context\n\nPrevious:\n```c\nsnprintf(proc_dir, sizeof(proc_dir), \"%s/proc/1/\", scap_get_host_root());\n```\n\nThis PR:\n```c\nsnprintf(proc_cmdline, sizeof(proc_cmdline), \"%s/proc/1/cmdline\", scap_get_host_root());\n```\n\nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Resolve falcosecurity#932, use /proc/1/cmdline for boot/procfs creati…"}},{"before":null,"after":"d0c466173d1237b11d4da0d6f8b61b8ce9574668","ref":"refs/heads/timestamp_issue_proc_cmdline","pushedAt":"2023-03-23T19:17:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"happy-dude","name":"Stanley Chan","path":"/happy-dude","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1098725?s=80&v=4"},"commit":{"message":"Resolve falcosecurity/libs#932, use /proc/1/cmdline for boot/procfs creation time\n\nSee https://github.com/falcosecurity/libs/issues/932 for more context\n\nPrevious:\n```c\nsnprintf(proc_dir, sizeof(proc_dir), \"%s/proc/1/\", scap_get_host_root());\n```\n\nThis PR:\n```c\nsnprintf(proc_cmdline, sizeof(proc_cmdline), \"%s/proc/1/cmdline\", scap_get_host_root());\n```\n\nSigned-off-by: Stanley Chan ","shortMessageHtmlLink":"Resolve falcosecurity#932, use /proc/1/cmdline for boot/procfs creati…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0wMy0yN1QxNjoxNjoyNi40ODc5NjFazwAAAAMMNNIG","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wMy0yN1QxNjoxNjoyNi40ODc5NjFazwAAAAMMNNIG","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wMy0yM1QxOToxNzozMC4wMDAwMDBazwAAAAMJ_N1K"}},"title":"Activity · happy-dude/libs"}