Go to file
Reshma Pattan 1a0c9cb015 pdump: fix created directory permissions
Inside the function pdump_get_socket_path(), pdump socket
directories are created using mkdir() call with permissions 700,
which was assigning wrong permissions to the directories
i.e. "d-w-r-xr-T" instead of drwx---. The reason is mkdir() call
doesn't consider 700 as an octal value until unless 0 is explicitly
added before the value. Because of this, socket creation failure is
observed when DPDK application was ran in non root user mode.
DPDK application running in root user mode never reported the issue.

So 0 is prefixed to the value to create directories with
the correct permissions.

Fixes: e4ffa2d3 ("pdump: fix error handlings")
Fixes: bdd8dcc6 ("pdump: fix default socket path")

Reported-by: Jianfeng Tan <jianfeng.tan@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Remy Horton <remy.horton@intel.com>
2016-10-12 18:40:49 +02:00
app app/testpmd: hide segment size when not relevant 2016-10-12 18:39:53 +02:00
buildtools pmdinfogen: fix clang build 2016-10-04 11:50:56 +02:00
config crypto/libcrypto: add driver for OpenSSL library 2016-10-08 17:54:37 +02:00
doc mk: use -march option with recent Intel processors names 2016-10-12 18:40:47 +02:00
drivers net/i40e: support TSO on tunneling packet 2016-10-09 23:19:15 +02:00
examples examples/ipsec-secgw: initialize SA salt 2016-10-08 17:54:38 +02:00
lib pdump: fix created directory permissions 2016-10-12 18:40:49 +02:00
mk mk: use -march option with recent Intel processors names 2016-10-12 18:40:47 +02:00
pkg version: 16.07.0 2016-07-28 20:48:41 +02:00
scripts crypto/libcrypto: add driver for OpenSSL library 2016-10-08 17:54:37 +02:00
tools tools: bind crypto devices 2016-10-04 20:41:09 +02:00
.gitignore doc: generate NIC overview table from ini files 2016-08-03 18:42:17 +02:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS net: introduce net library 2016-10-11 18:16:22 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org