summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27packaging: notice license filesubmit/tizen/20170403.005826accepted/tizen/wearable/20170403.124153accepted/tizen/unified/20170403.124235accepted/tizen/tv/20170403.124146accepted/tizen/mobile/20170403.124123accepted/tizen/ivi/20170403.124216accepted/tizen/common/20170403.185834old/tizen-20170403accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonInki Dae1-0/+2
This patch copies the license file to /usr/share/licenses/kmod-compat/ and /usr/share/licneses/libkmod/ The licenses of all packages should be noticed. Change-Id: I6a39f47cab1103452bff24ff330bbd7e7dffbd0b Signed-off-by: Inki Dae <inki.dae@samsung.com>
2016-06-24packaging: Apply ASLRsubmit/tizen_unified/20170308.100413submit/tizen_3.0_wearable/20161015.000003submit/tizen_3.0_tv/20161015.000002submit/tizen_3.0_mobile/20161015.000003submit/tizen_3.0_ivi/20161010.000003submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093753submit/tizen/20160624.022043accepted/tizen/wearable/20160624.064640accepted/tizen/unified/20170309.035719accepted/tizen/tv/20160624.064423accepted/tizen/mobile/20160624.064524accepted/tizen/ivi/20160624.064631accepted/tizen/common/20160627.191634accepted/tizen/3.0/wearable/20161015.083141accepted/tizen/3.0/tv/20161016.004425accepted/tizen/3.0/mobile/20161015.033348accepted/tizen/3.0/ivi/20161011.044239accepted/tizen/3.0/common/20161114.110910accepted/tizen/3.0.m2/wearable/20170105.025001accepted/tizen/3.0.m2/tv/20170105.024832accepted/tizen/3.0.m2/mobile/20170105.024647tizen_3.0_tvtizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileJaehoon Chung1-1/+1
Applied ASLR (CFLAG=-fPIE LDFLAG=-pi2) Change-Id: I0f522261553ca9b2b150805566b19d68f4de7c8b Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2014-11-03Bump to version 18tizen_3.0_ivi_releasetizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_mobile/20151202.000001submit/tizen_mobile/20141231.012840submit/tizen_ivi/20160217.000005submit/tizen_ivi/20160217.000000submit/tizen_ivi/20141225.333333submit/tizen_common/20151019.135620submit/tizen_common/20151015.190624submit/tizen/20141212.134459submit/sandbox/kevinthierry/bump-18/20141212.133823submit/sandbox/kevinthierry/bump-18/20141212.123842submit/sandbox/kevinthierry/bump-18/20141212.123401accepted/tizen/wearable/20141221.092419accepted/tizen/tv/20141221.092228accepted/tizen/mobile/20150105.022527accepted/tizen/ivi/20160218.024804accepted/tizen/ivi/20141231.083128accepted/tizen/common/20141216.093358tizen_3.0_ivitizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commonKévin THIERRY2-10/+12
Use upstream git repo instead of pristin-tar. Bug-Tizen: TC-1921 Change-Id: Iddf85dfdbbaf09e6be5dac11e73d492a8cb23b35 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-11-03Update to v15Patrick McCarty2-2/+6
This is a required dependency for systemd v208 (see TIVI-2197). Change-Id: I2121d71c5a03f42859e87d4784480ee771f3c4ad Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
2014-11-03resetting manifest requested domain to floorAlexandru Cornea2-0/+11
2014-11-03compat requires main packageAnas Nashif2-8/+11
2014-11-03Fixed package groupsAnas Nashif2-3/+6
2014-11-03Update package groupsAnas Nashif2-2/+6
2014-11-03disable man pagesAnas Nashif1-0/+1
2014-11-03provide module-init-toolsAnas Nashif1-5/+2
2014-11-03add packagingAnas Nashif1-1/+0
2014-11-03add packagingAnas Nashif2-103/+0
2014-11-03add packagingAnas Nashif1-16/+2
2014-11-03add packagingAnas Nashif3-0/+244
2014-06-14kmod 18v18Lucas De Marchi3-2/+23
2014-06-14testsuite: Fix macro missing format stringLucas De Marchi1-1/+1
2014-06-06testsuite: Add basic tests for hash implementationLucas De Marchi3-1/+242
Far from complete, but already covers all internal APIs.
2014-06-06testsuite: Add assert_returnLucas De Marchi1-0/+10
Add assert_return to use in testcases instead of assert. The issues with assert are: 1) It's disabled when NDEBUG is defined 2) Even if it's well supported by testsuite (the parent will report the child died) it can't output any meaningful error message
2014-06-05testsuite: separate testcases on logLucas De Marchi1-2/+6
2014-05-30testsuite: check for correct error message in detect-loopLucas De Marchi2-2/+6
2014-05-30testsuite: Fix expected_fail parsingLucas De Marchi1-6/+15
If a test has expected_fail=true, it means the return code must be different from 0 *and* the outputs must match. This way it's possible to check if the error messages are printed as they should.
2014-05-30testsuite: Add bracesLucas De Marchi1-1/+2
2014-05-30depmod: Add better error messages when facing loopsLucas De Marchi1-9/+93
Since now depmod fails when there are module loops, let's at least give better error messages, printing the loops we found. Since we may have more than 1 loop, just printing the modules that are in loop is not very clear. Assuming as an example 2 independent loops, this is how the new messages compare to the old ones: Before: depmod: ERROR: Found 5 modules in dependency cycles! depmod: ERROR: /tmp/test-kmod//lib/modules/3.14.4-1-ARCH/kernel/moduleE.ko in dependency cycle! depmod: ERROR: /tmp/test-kmod//lib/modules/3.14.4-1-ARCH/kernel/moduleB.ko in dependency cycle! depmod: ERROR: /tmp/test-kmod//lib/modules/3.14.4-1-ARCH/kernel/moduleC.ko in dependency cycle! depmod: ERROR: /tmp/test-kmod//lib/modules/3.14.4-1-ARCH/kernel/moduleD.ko in dependency cycle! depmod: ERROR: /tmp/test-kmod//lib/modules/3.14.4-1-ARCH/kernel/moduleA.ko in dependency cycle! After: depmod: ERROR: Found 5 modules in dependency cycles! depmod: ERROR: Cycle detected: moduleE -> moduleD -> moduleE depmod: ERROR: Cycle detected: moduleB -> moduleC -> moduleA -> moduleB
2014-05-30testsuite: add test to fail depmod on module loopsLucas De Marchi7-0/+28
2014-05-30depmod: Rename variable to clarify its meaningLucas De Marchi1-8/+12
In mod->modnamelen we were actually including the '\0', i.e. strlen(modname) + 1. So rename it to modnamesz and add a comment in depmod_module_is_higher_priority() to notice why it's correct since the new one is really using strlen(modname).
2014-05-18Fix use-after-free in hash implementation.Lukas Anzinger1-0/+1
If a value is added to the hash under a key that already exists the new value replaces the old value for that key. Since key can be a pointer to data that is part of value and freed by hash->free_value(), the key must be also replaced and not only the value. Otherwise key potentially points to freed data.
2014-05-14Close /sys/module/$NAME directory if opening /proc/module fails.Leandro Pereira1-0/+1
2014-05-14Free abspath if kmod_module_new_from_path() fails.Leandro Pereira1-1/+3
2014-05-14Free realnames if kmod_lookup_alias_from_alias_bin() failsLeandro Pereira1-0/+1
2014-05-14Ensure read_long() reads the correct number of bytes from the indexLeandro Pereira1-1/+1
2014-05-14Bail out of index_mm_open() if fstat() failsLeandro Pereira1-1/+2
2014-05-14depmod: Make dependency loops be fatalLucas De Marchi1-46/+9
Since the beginning depmod just warned about dependency loops and upon creation of modules.dep{,.bin} it skipped the modules that were part of a loop. However just skipping the modules may come as a surprise to kernel module developers: they will need to try to load the module (or to pay attention to the log messages) to notice thavt the module has not been put in the index. Also, differently from module-init-tools we were not skipping modules that depend on modules with dependency loops, leading to a segfault in depmod. So this is a summary of the change in behavior with this patch: Loop 1) A -> B -> C - ^ | '------------ Before: depmod: WARNING: found 3 modules in dependency cycles! depmod: WARNING: /tmp/test-kmod/lib/modules/3.14.2-1-ARCH/kernel/moduleB.ko in dependency cycle! depmod: WARNING: /tmp/test-kmod/lib/modules/3.14.2-1-ARCH/kernel/moduleC.ko in dependency cycle! depmod: WARNING: /tmp/test-kmod/lib/modules/3.14.2-1-ARCH/kernel/moduleA.ko in dependency cycle! return code: 0 After: depmod: ERROR: Found 3 modules in dependency cycles! depmod: ERROR: /tmp/test-kmod/lib/modules/3.14.2-1-ARCH/kernel/moduleB.ko in dependency cycle! depmod: ERROR: /tmp/test-kmod/lib/modules/3.14.2-1-ARCH/kernel/moduleC.ko in dependency cycle! depmod: ERROR: /tmp/test-kmod/lib/modules/3.14.2-1-ARCH/kernel/moduleA.ko in dependency cycle! return code: 2 Loop 2) A -> B -> C - ^ | '------- Before: depmod: WARNING: found 2 modules in dependency cycles! depmod: WARNING: /tmp/test-kmod//lib/modules/3.14.2-1-ARCH/kernel/moduleB.ko in dependency cycle! depmod: WARNING: /tmp/test-kmod//lib/modules/3.14.2-1-ARCH/kernel/moduleC.ko in dependency cycle! Segmentation fault (core dumped) After: depmod: ERROR: Found 2 modules in dependency cycles! depmod: ERROR: /tmp/test-kmod/lib/modules/3.14.2-1-ARCH/kernel/moduleB.ko in dependency cycle! depmod: ERROR: /tmp/test-kmod/lib/modules/3.14.2-1-ARCH/kernel/moduleC.ko in dependency cycle! return code: 2 The segfault above could be fixed, but let's just fail everything because dependency cycles should be fixed in the modules rather than just be skipped in the index.
2014-05-13man: fixup spacing/parens in modprobe.d(5)Joe Lawrence1-2/+2
2014-05-09Add gitignore to module playgroundLucas De Marchi1-0/+6
2014-05-05Remove references to systemd from the bash completion fileMarco d'Itri1-4/+4
And restore the original LGPL disclaimer text.
2014-05-02testsuite: Add module playground dirLucas De Marchi5-0/+101
2014-04-07Make sure there's NUL byte at the end of strndupaLucas De Marchi1-4/+7
Since strcpy() doesn't ensure we have a NUL byte in the resulting string, use alloca() + memcpy(). Also make sure we don't evaluate "s" twice.
2014-04-07Add strndupa to missing.hLucas De Marchi2-0/+11
2014-04-07Update .travis.ymlLucas De Marchi1-1/+2
- Add cython to the dependencies, so it can compile the python bindings - Remove unecessary -Wno-error since now we don't use -Werror anymore.
2014-04-06kmod 17v17Lucas De Marchi3-2/+32
2014-04-06testsuite: Remove duplicate testLucas De Marchi5-30/+0
This partially reverts ad7f175 ("Add test for depmod using search dirs with same prefix"). Testing it twice in the inverted order doesn't ensure we get the bug with wrong ordering. As put by Anssi Hannula <anssi@mageia.org>: So the bug is triggered only if the shorter name is higher-prio _and_ shorter name is traversed first. If the long name is traversed first, the bug don't trigger with either "search" directive order (and on my "make check" runs this is the case).
2014-04-06build-sys: enable python in bootstrap-configureLucas De Marchi1-1/+1
2014-04-04testsuite: Warn if sysconfdir is not /etcMichal Marek1-1/+8
2014-04-04testsuite: Do not run tests with *.ko.gz if zlib is not enabledMichal Marek1-0/+2
2014-04-04testsuite: Uncompress most modulesMichal Marek22-6/+5
Only keep test-depmod/modules-order-compressed to test compressed module support.
2014-04-01config: also parse softdeps from modulesTom Gundersen2-2/+2
This information can be found in /lib/modules/`uname -r`/modules.softdep, and has only recently been exported by the kernel. Also remove the advice about copying modules.softdep to /lib/modules as it is not clear how to do this correctly with several kernels installed with potentially conflicting soft dependencies.
2014-04-01libkmod: Ignore errors from softdepsMichal Marek3-4/+48
Before we had softdeps, the usual idiom was install foo /sbin/modprobe bar; /sbin/modprobe --ignore-install foo ignoring errors from the first modprobe invocation. This also matches the behavior of module-init-tools' implementation of softdep.
2014-03-26build-sys: add hooks to build python bindingsLucas De Marchi4-3/+89
Add --enable-python configure switch so we build the python bindings. We also pass version.py through SED_PROCESS macro, so the version is kept in sync with kmod. Acked-by: Andy Grover <agrover@redhat.com>
2014-03-26python: Remove unused files from importLucas De Marchi10-964/+0
Acked-by: Andy Grover <agrover@redhat.com>
2014-03-26Merge branch 'master' of python-kmodLucas De Marchi22-0/+1611
This is python-kmod is found in git@github.com:agrover/kmod.git d5b6f22639c077b86659828bcc78dcedc9daaa94 Its history has being rewritten to prepare for a merge: - Every commit has been prefixed with "python: " in its commit message - s-o-b's have been removed - Every file has been moved to libkmod/python directory Some files don't make much sense anymore and are being removed in this merge. Acked-by: Andy Grover <agrover@redhat.com>