chiark / gitweb /
move common stuff from udev/ to private parts of libudev/
[elogind.git] / libudev / libudev-selinux-private.c
similarity index 72%
rename from udev/udev-selinux.c
rename to libudev/libudev-selinux-private.c
index 4f1b2bb2d1ae627acc0b9d16f8d731640f64d3a7..84f8b6a63fc0cbea6a6c171ddfa0ccb095c39f38 100644 (file)
@@ -1,18 +1,12 @@
 /*
- * Copyright (C) 2008 Kay Sievers <kay.sievers@vrfy.org>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
+ * libudev - interface to udev device information
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * Copyright (C) 2008 Kay Sievers <kay.sievers@vrfy.org>
  *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
  */
 
 #include <stdio.h>
@@ -22,7 +16,8 @@
 #include <unistd.h>
 #include <selinux/selinux.h>
 
-#include "udev.h"
+#include "libudev.h"
+#include "libudev-private.h"
 
 static int selinux_enabled;
 security_context_t selinux_prev_scontext;