Bug 568728: Drop execute permission on files
Add enforecment script that verifies that only specified file types are allowed to be mared as executable. Change-Id: I4b40e3a46b03bfc78a9dcd52e8bf29cb079b7f3b Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
7
.gitattributes
vendored
|
@ -24,12 +24,14 @@ CONTRIBUTING text
|
|||
# C-like configuration/scripts
|
||||
*.ac text
|
||||
*.am text
|
||||
# file permission +x
|
||||
*.bat text
|
||||
*.build text
|
||||
*.incl text
|
||||
makefile text
|
||||
Makefile text
|
||||
*.mk text
|
||||
# file permission +x
|
||||
*.sh text
|
||||
|
||||
# Qt
|
||||
|
@ -48,12 +50,16 @@ Makefile text
|
|||
# (These should not normally be checked in, exceptions for pre-compiled libraries and tests)
|
||||
*.o binary
|
||||
*.d text
|
||||
# file permission +x
|
||||
*.dll binary diff=dll
|
||||
*.a binary
|
||||
# file permission +x
|
||||
*.exe binary
|
||||
*.out binary
|
||||
*.app binary
|
||||
# file permission +x
|
||||
*.jnilib binary diff=hex
|
||||
# file permission +x
|
||||
*.so binary
|
||||
|
||||
# Web/Javascript/Node
|
||||
|
@ -152,5 +158,6 @@ cdtOptions text
|
|||
*.ucd text
|
||||
.umlproject text
|
||||
# remove trailing whitespace
|
||||
# file permission +x
|
||||
*.py text
|
||||
*.xhtml text
|
||||
|
|
0
build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/test1DepCalc2.zip
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/test1DepCalc3.zip
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/test1DepCalcPreBuild.zip
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/IManagedDependencyCalculator.java
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/IManagedDependencyGeneratorType.java
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/IManagedDependencyInfo.java
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/IManagedDependencyPreBuild.java
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuDependencyGroupInfo.java
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.ui/plugin.properties
Executable file → Normal file
0
build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/commands/Messages.properties
Executable file → Normal file
0
core/org.eclipse.cdt.core.native/plugin.properties
Executable file → Normal file
0
core/org.eclipse.cdt.core.tests/resources/elf/unit_test/simple-be32.elf
Executable file → Normal file
0
core/org.eclipse.cdt.core.tests/resources/elf/unit_test/simple-be64.elf
Executable file → Normal file
0
core/org.eclipse.cdt.core.tests/resources/elf/unit_test/simple-le32.elf
Executable file → Normal file
0
core/org.eclipse.cdt.core.tests/resources/testlib/x86/so.g/libtestlib_g.so
Normal file → Executable file
0
core/org.eclipse.cdt.core/plugin.properties
Executable file → Normal file
0
core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/refactoring/implementmethod/ImplementMethodRefactoringTest.java
Executable file → Normal file
0
core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/refactoring/overridemethods/OverrideMethodsRefactoringTest.java
Executable file → Normal file
0
core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/implementmethod/ImplementMethodRefactoring.java
Executable file → Normal file
0
core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/utils/NodeHelper.java
Executable file → Normal file
0
cross/org.eclipse.cdt.build.crossgcc/.project
Executable file → Normal file
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %Bundle-Name
|
||||
Bundle-SymbolicName: org.eclipse.cdt.build.crossgcc;singleton:=true
|
||||
Bundle-Version: 1.2.0.qualifier
|
||||
Bundle-Version: 1.2.100.qualifier
|
||||
Require-Bundle: org.eclipse.core.runtime,
|
||||
org.eclipse.cdt.core;bundle-version="5.1.0",
|
||||
org.eclipse.cdt.managedbuilder.core;bundle-version="5.0.100",
|
||||
|
|
0
cross/org.eclipse.cdt.build.crossgcc/build.properties
Executable file → Normal file
0
cross/org.eclipse.cdt.build.crossgcc/src/org/eclipse/cdt/internal/build/crossgcc/CrossCommandLineGenerator.java
Executable file → Normal file
0
debug/org.eclipse.cdt.debug.application.doc/concepts/cdt_c_templates.htm
Executable file → Normal file
0
debug/org.eclipse.cdt.debug.application.doc/concepts/cdt_c_whatsnew.htm
Executable file → Normal file
0
debug/org.eclipse.cdt.debug.application.doc/concepts/cdt_c_whatsnew_83.htm
Executable file → Normal file
0
debug/org.eclipse.cdt.debug.application.doc/images/btn_columns.png
Executable file → Normal file
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 597 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/btn_import_executables.png
Executable file → Normal file
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 606 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/btn_restart.png
Executable file → Normal file
Before Width: | Height: | Size: 590 B After Width: | Height: | Size: 590 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/c_exe_obj.png
Executable file → Normal file
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 736 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/c_object_file.png
Executable file → Normal file
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 699 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_dlg_define_build_var.png
Executable file → Normal file
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_dlg_edit_build_var.png
Executable file → Normal file
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_inline_rename.png
Executable file → Normal file
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_menu_toggle_comments.png
Executable file → Normal file
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_pref_build_vars.png
Executable file → Normal file
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_pref_new_task_tag_dlg.png
Executable file → Normal file
Before Width: | Height: | Size: 9 KiB After Width: | Height: | Size: 9 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_pref_task_tags.png
Executable file → Normal file
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_rename_dialog.png
Executable file → Normal file
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_t_toggle_selection.png
Executable file → Normal file
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_t_toggle_selection2.png
Executable file → Normal file
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/cdt_t_toggle_selection3.png
Executable file → Normal file
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/command_link.png
Executable file → Normal file
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 455 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/editor_general_preferences.png
Executable file → Normal file
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/editor_mark_preferences.png
Executable file → Normal file
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/editor_save_actions_preferences.png
Executable file → Normal file
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/hierarchy_co.gif
Executable file → Normal file
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/history_list.gif
Executable file → Normal file
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 586 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_build_make_target.png
Executable file → Normal file
Before Width: | Height: | Size: 826 B After Width: | Height: | Size: 826 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_clear_console.png
Executable file → Normal file
Before Width: | Height: | Size: 803 B After Width: | Height: | Size: 803 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_edit_make_target.png
Executable file → Normal file
Before Width: | Height: | Size: 883 B After Width: | Height: | Size: 883 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_expand_all.png
Executable file → Normal file
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 504 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_hide_inactive_includes.png
Executable file → Normal file
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 453 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_hide_make_targets.png
Executable file → Normal file
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 722 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_hide_sys_includes.png
Executable file → Normal file
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 426 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_new_make_target.png
Executable file → Normal file
Before Width: | Height: | Size: 885 B After Width: | Height: | Size: 885 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_next_error.png
Executable file → Normal file
Before Width: | Height: | Size: 602 B After Width: | Height: | Size: 602 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_open_console.png
Executable file → Normal file
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 782 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_pin.png
Executable file → Normal file
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 710 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_prev_error.png
Executable file → Normal file
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 598 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_repeat_search.png
Executable file → Normal file
Before Width: | Height: | Size: 871 B After Width: | Height: | Size: 871 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_save_output_file.png
Executable file → Normal file
Before Width: | Height: | Size: 795 B After Width: | Height: | Size: 795 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/icon_show_error.png
Executable file → Normal file
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 599 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/namespace_declared_obj.png
Executable file → Normal file
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 435 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/new_proj_convert_candidate.png
Executable file → Normal file
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/pref_panel_build.png
Executable file → Normal file
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/pref_panel_code_templates.png
Executable file → Normal file
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/pref_panel_edit_template_dlg.png
Executable file → Normal file
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/pref_traditional_memory_prefs.png
Executable file → Normal file
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/progress_stop.gif
Executable file → Normal file
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/refresh_nav.gif
Executable file → Normal file
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 327 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/sub_co.gif
Executable file → Normal file
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 209 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/super_co.gif
Executable file → Normal file
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 208 B |
0
debug/org.eclipse.cdt.debug.application.doc/images/view_executables.png
Executable file → Normal file
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/view_include_browser.png
Executable file → Normal file
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
0
debug/org.eclipse.cdt.debug.application.doc/images/view_table_rendering.png
Executable file → Normal file
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |