[libc-commits] [libc] [libc] implement klogctl (PR #244040)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Wed Nov 18 23:29:38 PST 2026
================
@@ -0,0 +1,46 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Unittests for klogctl.
+///
----------------
michaelrj-google wrote:
I think these tests are small enough and have minimal enough side effects they're worth keeping. The `SYSLOG_ACTION_SIZE_BUFFER` version should be available even without permissions, and it makes sure that the code is exercised so that we aren't surprised by things like sanitizer issues.
https://github.com/llvm/llvm-project/pull/244040
More information about the libc-commits
mailing list