aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrindhold <grindhold@gmx.net>2019-09-21 13:26:37 +0200
committerChristian Grothoff <christian@grothoff.org>2019-09-21 17:44:12 +0200
commit2e2790e1b4a563ef471be1b604c6ebee55f89203 (patch)
tree580cacadc1ac628003be43724810e5875e5de031
parentcac1c211ba0247b978961630b7ee147956b29e0a (diff)
downloadgnunet-2e2790e1b4a563ef471be1b604c6ebee55f89203.tar.gz
gnunet-2e2790e1b4a563ef471be1b604c6ebee55f89203.zip
docs: fix typo 'priviledge'→'privilege'
-rw-r--r--README2
-rw-r--r--src/datastore/plugin_datastore_mysql.c2
-rw-r--r--src/dns/gnunet-helper-dns.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index e15cd9c26..e23d006b5 100644
--- a/README
+++ b/README
@@ -326,7 +326,7 @@ You can avoid running 'make install' as root if you run configure
326with the "--with-sudo=yes" option and have extensive sudo rights 326with the "--with-sudo=yes" option and have extensive sudo rights
327(can run "chmod +s" and "chown" via 'sudo'). If you run 'make install' 327(can run "chmod +s" and "chown" via 'sudo'). If you run 'make install'
328as a normal user without sudo rights (or the configure option), 328as a normal user without sudo rights (or the configure option),
329certain binaries that require additional priviledges will not be 329certain binaries that require additional privileges will not be
330installed properly (and autonomous NAT traversal, WLAN, DNS/GNS and 330installed properly (and autonomous NAT traversal, WLAN, DNS/GNS and
331the VPN will then not work). 331the VPN will then not work).
332 332
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c
index c670a6d99..cc5b558ee 100644
--- a/src/datastore/plugin_datastore_mysql.c
+++ b/src/datastore/plugin_datastore_mysql.c
@@ -77,7 +77,7 @@
77 * Thats it. Note that .my.cnf file is a security risk unless its on 77 * Thats it. Note that .my.cnf file is a security risk unless its on
78 * a safe partition etc. The $HOME/.my.cnf can of course be a symbolic 78 * a safe partition etc. The $HOME/.my.cnf can of course be a symbolic
79 * link. Even greater security risk can be achieved by setting no 79 * link. Even greater security risk can be achieved by setting no
80 * password for $USER. Luckily $USER has only priviledges to mess 80 * password for $USER. Luckily $USER has only privileges to mess
81 * up GNUnet's tables, nothing else (unless you give them more, 81 * up GNUnet's tables, nothing else (unless you give them more,
82 * of course).<p> 82 * of course).<p>
83 * 83 *
diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c
index 85c72579d..e837d81c6 100644
--- a/src/dns/gnunet-helper-dns.c
+++ b/src/dns/gnunet-helper-dns.c
@@ -499,7 +499,7 @@ set_address4(const char *dev, const char *address, const char *mask)
499 499
500/** 500/**
501 * Start forwarding to and from the tunnel. This function runs with 501 * Start forwarding to and from the tunnel. This function runs with
502 * "reduced" priviledges (saved UID is still 0, but effective UID is 502 * "reduced" privileges (saved UID is still 0, but effective UID is
503 * the real user ID). 503 * the real user ID).
504 * 504 *
505 * @param fd_tun tunnel FD 505 * @param fd_tun tunnel FD
@@ -728,7 +728,7 @@ PROCESS_BUFFER:
728 * 25-39 failed to drop privs and then failed to undo some changes to routing table 728 * 25-39 failed to drop privs and then failed to undo some changes to routing table
729 * 40 failed to regain privs 729 * 40 failed to regain privs
730 * 41-55 failed to regain prisv and then failed to undo some changes to routing table 730 * 41-55 failed to regain prisv and then failed to undo some changes to routing table
731 * 254 insufficient priviledges 731 * 254 insufficient privileges
732 * 255 failed to handle kill signal properly 732 * 255 failed to handle kill signal properly
733 */ 733 */
734int 734int