summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/crc32.c2
-rw-r--r--libbb/create_icmp6_socket.c2
-rw-r--r--libbb/create_icmp_socket.c2
-rw-r--r--libbb/crypt_make_salt.c1
-rw-r--r--libbb/human_readable.c2
-rw-r--r--libbb/inet_common.c2
-rw-r--r--libbb/rtc.c2
-rw-r--r--libbb/selinux_common.c2
-rw-r--r--libbb/update_passwd.c2
-rw-r--r--libbb/xatonum_template.c4
-rw-r--r--libbb/xconnect.c1
-rw-r--r--libbb/xgetcwd.c4
-rw-r--r--libbb/xreadlink.c6
13 files changed, 28 insertions, 4 deletions
diff --git a/libbb/crc32.c b/libbb/crc32.c
index 42079b9..36ac860 100644
--- a/libbb/crc32.c
+++ b/libbb/crc32.c
@@ -12,6 +12,8 @@
*
* endian = 1: big-endian
* endian = 0: little-endian
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
diff --git a/libbb/create_icmp6_socket.c b/libbb/create_icmp6_socket.c
index 2065517..91e478e 100644
--- a/libbb/create_icmp6_socket.c
+++ b/libbb/create_icmp6_socket.c
@@ -4,6 +4,8 @@
*
* create raw socket for icmp (IPv6 version) protocol
* and drop root privileges if running setuid
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
diff --git a/libbb/create_icmp_socket.c b/libbb/create_icmp_socket.c
index 1fa016a..d75f845 100644
--- a/libbb/create_icmp_socket.c
+++ b/libbb/create_icmp_socket.c
@@ -4,6 +4,8 @@
*
* create raw socket for icmp protocol
* and drop root privileges if running setuid
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
diff --git a/libbb/crypt_make_salt.c b/libbb/crypt_make_salt.c
index 393eba5..14bb0dd 100644
--- a/libbb/crypt_make_salt.c
+++ b/libbb/crypt_make_salt.c
@@ -6,6 +6,7 @@
*
* Lifted from loginutils/passwd.c by Thomas Lundquist <thomasez@zelow.no>
*
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
diff --git a/libbb/human_readable.c b/libbb/human_readable.c
index 61c8567..05e7d86 100644
--- a/libbb/human_readable.c
+++ b/libbb/human_readable.c
@@ -24,6 +24,8 @@
*
* Some code to omit the decimal point and tenths digit is sketched out
* and "#if 0"'d below.
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
diff --git a/libbb/inet_common.c b/libbb/inet_common.c
index 966a021..fa4d867 100644
--- a/libbb/inet_common.c
+++ b/libbb/inet_common.c
@@ -5,7 +5,7 @@
*
* Heavily modified by Manuel Novoa III Mar 12, 2001
*
- *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
diff --git a/libbb/rtc.c b/libbb/rtc.c
index 222d977..51834f8 100644
--- a/libbb/rtc.c
+++ b/libbb/rtc.c
@@ -1,5 +1,7 @@
/*
* Common RTC functions
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
diff --git a/libbb/selinux_common.c b/libbb/selinux_common.c
index 5fdbe9d..275a761 100644
--- a/libbb/selinux_common.c
+++ b/libbb/selinux_common.c
@@ -3,6 +3,8 @@
* -- common SELinux utility functions
*
* Copyright 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
#include <selinux/context.h>
diff --git a/libbb/update_passwd.c b/libbb/update_passwd.c
index 88bc28c..565dd37 100644
--- a/libbb/update_passwd.c
+++ b/libbb/update_passwd.c
@@ -7,6 +7,8 @@
* /etc/shadow) for a given user and password.
*
* Moved from loginutils/passwd.c by Alexander Shishkin <virtuoso@slind.org>
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
diff --git a/libbb/xatonum_template.c b/libbb/xatonum_template.c
index 2360ae8..5e0bb59 100644
--- a/libbb/xatonum_template.c
+++ b/libbb/xatonum_template.c
@@ -1,4 +1,8 @@
/*
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
+ */
+/*
You need to define the following (example):
#define type long
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index d48c503..5be8324 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -4,6 +4,7 @@
*
* Connect to host at port using address resolution from getaddrinfo
*
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include <netinet/in.h>
diff --git a/libbb/xgetcwd.c b/libbb/xgetcwd.c
index eefe1d6..10febe3 100644
--- a/libbb/xgetcwd.c
+++ b/libbb/xgetcwd.c
@@ -5,7 +5,9 @@
* Written by David MacKenzie <djm@gnu.ai.mit.edu>.
*
* Special function for busybox written by Vladimir Oleynik <dzo@simtreas.ru>
-*/
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
+ */
#include "libbb.h"
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c
index 2cfc575..6bff4be 100644
--- a/libbb/xreadlink.c
+++ b/libbb/xreadlink.c
@@ -1,7 +1,9 @@
/* vi: set sw=4 ts=4: */
/*
- * xreadlink.c - safe implementation of readlink.
- * Returns a NULL on failure...
+ * xreadlink.c - safe implementation of readlink.
+ * Returns a NULL on failure...
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"