| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
g_type_init() has been deprecated (and also marked with the attribute
'deprecated') since glib 2.36 as the type system is automatically
initialized. Since the minimum version of glib required by libqmi is
2.36, calling g_type_init() isn't necessarily in the libqmi code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This new option will make the proxy to avoid exiting when no connected clients
were found. Without this option, the proxy will end up exiting after 30s without
a valid QmiDevice connected to the proxy, e.g.:
$ sudo /usr/libexec/qmi-proxy --verbose
[23 feb 2015, 20:48:35] [Debug] creating UNIX socket service...
[23 feb 2015, 20:48:35] [Debug] starting UNIX socket service at 'qmi-proxy'...
[23 feb 2015, 20:49:05] [Debug] UNIX socket service at 'qmi-proxy' stopped
[23 feb 2015, 20:49:05] [Debug] exiting 'qmi-proxy'...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If --enable-qmi-username isn't explicitly used, we should just check
for the root user UID, without using getpwnam(). See e.g. these SELinux warnings:
SELinux is preventing /usr/bin/bash from read access on the file /etc/passwd.
***** Plugin catchall (100. confidence) suggests **************************
If you believe that bash should be allowed read access on the passwd file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do allow this access for now by executing:
# grep qmi-proxy /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
|
|
|
|
|
| |
Include the udev rules template in the distribution tarball even if the
`--enable-qmi-username' option wasn't specified.
|
|
|
|
|
|
| |
Adding a udev rule to change ownership of all QMI devices to the
configured user specified at compile time using --enable-qmi-username
flag.
|
| |
|
| |
|
| |
|
|
|