Commit bfde048
committed
fix: add security hardening flags to build process
1. Added DEB_BUILD_MAINT_OPTIONS with hardening=+all for comprehensive
security
2. Included additional compiler flags (-Wall) for warnings
3. Added linker flags for security features like RELRO, immediate
binding, and noexecstack
4. These changes improve binary security by enabling modern protection
mechanisms
fix: 在构建过程中添加安全加固标志
1. 添加了包含 hardening=+all 的 DEB_BUILD_MAINT_OPTIONS 以实现全面的安
全性
2. 包含了额外的编译器标志 (-Wall) 用于警告
3. 添加了链接器标志以实现 RELRO、立即绑定和 noexecstack 等安全特性
4. 这些更改通过启用现代保护机制提高了二进制文件的安全性1 parent 76bc12a commit bfde048
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
0 commit comments