# Re: Re: \[PATCH\] Don't allow softcursor use from userland

- From: Jon Smirl \<hidden\>
- Date: 2005-08-07 04:41:49 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2005/08/13455287
- Thread: https://ratatoskr.run/linux-fbdev/2005/08/13455285/t.md

```text
On 8/7/05, Andrew Morton [ref] wrote:
> James Simmons [ref] wrote:
> >
> >  This patch forbids the cursor use from userland. The reason is that the
> >  cursor area could be altered by a another process and the current system
> >  doesn't handle syncing those updates.
> 
> Can this change break existing apps?

This change is not agreed too yet. Antonio and I are proposing a
different solution.
http://comments.gmane.org/gmane.linux.fbdev.devel/7118

The alternate solution takes into account that fbconsole is the only
user of softcursor and moves softcursor into console.  fbdev drivers
then only expose a cursor entry point if they have a hardware cursor.
If they don't the entry point is NULL.

Nether solution should break existing apps since the existing
softcursor scheme was broken from user space and unusable.

-- 
Jon Smirl
jonsmirl@gmail.com


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
```
