treewide: fix typos

This commit is contained in:
Torstein Husebø 2015-05-26 19:17:30 +02:00 committed by Tom Gundersen
parent 185abfc3d6
commit 45afd51974
9 changed files with 12 additions and 12 deletions

4
NEWS
View file

@ -3997,7 +3997,7 @@ CHANGES WITH 191:
* HandleSleepKey= in logind.conf has been split up into * HandleSleepKey= in logind.conf has been split up into
HandleSuspendKey= and HandleHibernateKey=. The old setting HandleSuspendKey= and HandleHibernateKey=. The old setting
is not available anymore. X11 and the kernel are is not available anymore. X11 and the kernel are
distuingishing between these keys and we should too. This distinguishing between these keys and we should too. This
also means the inhibition lock for these keys has been split also means the inhibition lock for these keys has been split
into two. into two.
@ -4743,7 +4743,7 @@ CHANGES WITH 43:
* Various functionality updates to libsystemd-login.so * Various functionality updates to libsystemd-login.so
* Track class of PAM logins to distuingish greeters from * Track class of PAM logins to distinguish greeters from
normal user logins. normal user logins.
Contributions from: Kay Sievers, Lennart Poettering, Michael Contributions from: Kay Sievers, Lennart Poettering, Michael

View file

@ -83,7 +83,7 @@
<varlistentry> <varlistentry>
<term><varname>ServerKeyFile=</varname></term> <term><varname>ServerKeyFile=</varname></term>
<listitem><para>SSL key in PEM format</para></listitem> <listitem><para>SSL key in PEM format.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>

View file

@ -429,7 +429,7 @@ static int bus_populate_creds_from_items(
c->mask |= SD_BUS_CREDS_PPID; c->mask |= SD_BUS_CREDS_PPID;
} else if (item->pids.pid == 1) { } else if (item->pids.pid == 1) {
/* The structure doesn't /* The structure doesn't
* really distuingish the case * really distinguish the case
* where a process has no * where a process has no
* parent and where we don't * parent and where we don't
* know it because it could * know it because it could

View file

@ -303,7 +303,7 @@ _public_ int sd_bus_creds_get_ppid(sd_bus_creds *c, pid_t *ppid) {
if (!(c->mask & SD_BUS_CREDS_PPID)) if (!(c->mask & SD_BUS_CREDS_PPID))
return -ENODATA; return -ENODATA;
/* PID 1 has no parent process. Let's distuingish the case of /* PID 1 has no parent process. Let's distinguish the case of
* not knowing and not having a parent process by the returned * not knowing and not having a parent process by the returned
* error code. */ * error code. */
if (c->ppid == 0) if (c->ppid == 0)
@ -989,7 +989,7 @@ int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid) {
if (missing & SD_BUS_CREDS_EXE) { if (missing & SD_BUS_CREDS_EXE) {
r = get_process_exe(pid, &c->exe); r = get_process_exe(pid, &c->exe);
if (r == -ESRCH) { if (r == -ESRCH) {
/* Unfortunately we cannot really distuingish /* Unfortunately we cannot really distinguish
* the case here where the process does not * the case here where the process does not
* exist, and /proc/$PID/exe being unreadable * exist, and /proc/$PID/exe being unreadable
* because $PID is a kernel thread. Hence, * because $PID is a kernel thread. Hence,
@ -1101,7 +1101,7 @@ int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid) {
} }
/* In case only the exe path was to be read we cannot /* In case only the exe path was to be read we cannot
* distuingish the case where the exe path was unreadable * distinguish the case where the exe path was unreadable
* because the process was a kernel thread, or when the * because the process was a kernel thread, or when the
* process didn't exist at all. Hence, let's do a final check, * process didn't exist at all. Hence, let's do a final check,
* to be sure. */ * to be sure. */

View file

@ -35,7 +35,7 @@ int uname_architecture(void) {
* 1:1. Instead we try to clean it up and break down the * 1:1. Instead we try to clean it up and break down the
* confusion on x86 and arm in particular. * confusion on x86 and arm in particular.
* *
* We do not try to distuingish CPUs not CPU features, but * We do not try to distinguish CPUs not CPU features, but
* actual architectures, i.e. that have genuinely different * actual architectures, i.e. that have genuinely different
* code. */ * code. */

View file

@ -27,7 +27,7 @@
/* A cleaned up architecture definition. We don't want to get lost in /* A cleaned up architecture definition. We don't want to get lost in
* processor features, models, generations or even ABIs. Hence we * processor features, models, generations or even ABIs. Hence we
* focus on general family, and distuignish word width and * focus on general family, and distinguish word width and
* endianness. */ * endianness. */
enum { enum {

View file

@ -31,7 +31,7 @@ int have_effective_cap(int value);
int capability_bounding_set_drop(uint64_t drop, bool right_now); int capability_bounding_set_drop(uint64_t drop, bool right_now);
int capability_bounding_set_drop_usermode(uint64_t drop); int capability_bounding_set_drop_usermode(uint64_t drop);
int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilites); int drop_privileges(uid_t uid, gid_t gid, uint64_t keep_capabilities);
int drop_capability(cap_value_t cv); int drop_capability(cap_value_t cv);

View file

@ -32,7 +32,7 @@
#define MAKE_SET(s) ((Set*) s) #define MAKE_SET(s) ((Set*) s)
#define MAKE_FDSET(s) ((FDSet*) s) #define MAKE_FDSET(s) ((FDSet*) s)
/* Make sure we can distuingish fd 0 and NULL */ /* Make sure we can distinguish fd 0 and NULL */
#define FD_TO_PTR(fd) INT_TO_PTR((fd)+1) #define FD_TO_PTR(fd) INT_TO_PTR((fd)+1)
#define PTR_TO_FD(p) (PTR_TO_INT(p)-1) #define PTR_TO_FD(p) (PTR_TO_INT(p)-1)

View file

@ -5887,7 +5887,7 @@ int same_fd(int a, int b) {
/* The fds refer to the same inode on disk, let's also check /* The fds refer to the same inode on disk, let's also check
* if they have the same fd flags. This is useful to * if they have the same fd flags. This is useful to
* distuingish the read and write side of a pipe created with * distinguish the read and write side of a pipe created with
* pipe(). */ * pipe(). */
fa = fcntl(a, F_GETFL); fa = fcntl(a, F_GETFL);
if (fa < 0) if (fa < 0)