Blame elf/tst-auditlogmod-1.c

Packit Service d5c301
/* Audit module which logs that it was loaded.  Variant 1.
Packit Service d5c301
   Copyright (C) 2020 Free Software Foundation, Inc.
Packit Service d5c301
   This file is part of the GNU C Library.
Packit Service d5c301
Packit Service d5c301
   The GNU C Library is free software; you can redistribute it and/or
Packit Service d5c301
   modify it under the terms of the GNU Lesser General Public
Packit Service d5c301
   License as published by the Free Software Foundation; either
Packit Service d5c301
   version 2.1 of the License, or (at your option) any later version.
Packit Service d5c301
Packit Service d5c301
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service d5c301
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service d5c301
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service d5c301
   Lesser General Public License for more details.
Packit Service d5c301
Packit Service d5c301
   You should have received a copy of the GNU Lesser General Public
Packit Service d5c301
   License along with the GNU C Library; if not, see
Packit Service d5c301
   <https://www.gnu.org/licenses/>.  */
Packit Service d5c301
Packit Service d5c301
#include <link.h>
Packit Service d5c301
#include <support/support.h>
Packit Service d5c301
Packit Service d5c301
unsigned int
Packit Service d5c301
la_version (unsigned int v)
Packit Service d5c301
{
Packit Service d5c301
  write_message ("info: tst-auditlogmod-1.so loaded\n");
Packit Service d5c301
  return LAV_CURRENT;
Packit Service d5c301
}