Shorting is essentially borrowing the control of stock to some other party. That's it. It doesn't have to be done on the market, it can be done in a private, confidential contract where I oblige myself to sell my stock when directed to do so by yourself, provided adequate warranties exist that you will cover the price difference when I want to purchase it back.
For this ceding of control, I get paid. The market only "sees" regular buying and selling of stock.
Or are there people who'll loan out their stocks for 10 years, trusting the borrower has enough cash not to go bankrupt in 10 years no matter what happens?
I had selling a call option in mind.
The short seller has an account with a brokerage, the broker is ultimately on the hook for making sure that any borrowed short interest is returned. This is why brokers have margin requirements.
Why would you completely disallow shorting ?
I'd think that in such a framework, shorting would just need to become a longer term bet. So one could offer something like 2,5,10 year LEAPs, but restrict their trading to a window of 1 week per year (e.g. one can trade derivatives as much as one wants, but only during week X, which is the week when all derivatives expire, and all derivatives are long term).
Also for options, one would need to always require traders to be covered with the actual stock.